Re: Add CREATE EXTENSION Support - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Add CREATE EXTENSION Support
Date
Msg-id CA+OCxoyiBtv8xY9tqDo7=B6q0anx0ddr9YMQ1G3jyQaUm02JdQ@mail.gmail.com
Whole thread Raw
In response to Add CREATE EXTENSION Support  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: Add CREATE EXTENSION Support  ("David E. Wheeler" <david@justatheory.com>)
List pgadmin-hackers
On Sat, Jan 11, 2014 at 10:01 PM, David E. Wheeler
<david@justatheory.com> wrote:
> PGAdmin Hackers,
>
> I’d like to add code to pgAgent so that its schema could be installed via a CREATE EXTENSION statement. This would
greatlysimplify deployment for us. In private correspondence, Dave Page suggested that CMake be updated to handle it.
Ata glance, I think I'd have to move things around a bit, perhaps create an SQL directory, and have CMake concatenate
files(or wrap them in BEGIN/COMMIT statements) to generate the old file. Does that make sense? 

Yes.

> Also, is there access to PGXS during the build? I'm pretty familiar with how PostgreSQL extension Makefiles should
work,but not the configure/CMake stuff in pgAdmin. Pointers would be appreciated. 

PGXS cannot be used - it doesn't support Windows.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [PATCH] Add a menu option for disabling restoration of previous environment on reconnect
Next
From: "David E. Wheeler"
Date:
Subject: Re: Add CREATE EXTENSION Support