Re: proposal for PL packages for 8.3. - Mailing list pgsql-hackers

From Richard Huxton
Subject Re: proposal for PL packages for 8.3.
Date
Msg-id 44D9EAA9.6080407@archonet.com
Whole thread Raw
In response to Re: proposal for PL packages for 8.3.  (Richard Huxton <dev@archonet.com>)
List pgsql-hackers
Richard Huxton wrote:
> 
> Packaging
> I'd guess we'd need a pg_package and pg_package_items system tables. We 
> could track:
> - package name (different from schema)
> - version number
> - install/uninstall functions
> - start-session/end-session functions
> - dependencies (is pg_depend enough)
> pg_package_items
> - schema-name
> - variables, functions, tables, views etc

While I'm thinking of it:

pg_dump needs to either dump a package as a complete package, or be able 
to replace them with an instruction to import the relevant package 
(where there is no associated data, just functions).

--   Richard Huxton  Archonet Ltd


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: [PATCHES] Forcing current WAL file to be archived
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Forcing current WAL file to be archived