Search Postgresql Archives

Adapting existing extensions to use CREATE EXTENSION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I've been looking at converting my existing "debversion" datatype
extension to use the proper "CREATE EXTENSION" facility for 9.1,
while also being backward compatible with 8.4 and 9.0.

My initial work on the conversion is here:
http://people.debian.org/~rleigh/postgresql-debversion_1.0.5.orig.tar.gz

(this is based upon looking at how citext handles it plus the
documentation and information at pgxn.org)

Note that it uses autoconf/make rather than relying on PGXS.
Extension support is disabled with --disable-extension.  When
disabled, it still installs a compatibility script in
contrib/ to allow existing scripts to function (but it just
wraps CREATE EXTENSION rather than doing everything by hand).

I was wondering if anyone could possibly look it over to see if
I'm missing anything, or doing anything stupid that I shouldn't
in the new order of things.  I'll release it and make it available
on PGXN once I'm happy it's OK.


Many thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux