Re: [GENERAL] The scope of extensions

2012-04-17 Thread Roger Leigh
On Mon, Apr 16, 2012 at 09:20:14PM +0200, Guillaume Lelarge wrote: > On Mon, 2012-04-16 at 21:16 +0200, Guillaume Lelarge wrote: > > On Mon, 2012-04-16 at 16:46 +0100, Roger Leigh wrote: > > > On Mon, Apr 16, 2012 at 10:22:19AM -0500, Merlin Moncure wrote: > > > > On Mon, Apr 16, 2012 at 10:05 AM,

Re: [GENERAL] The scope of extensions

2012-04-16 Thread Merlin Moncure
On Mon, Apr 16, 2012 at 2:20 PM, Guillaume Lelarge wrote: >> > Every project I've worked on which uses PostgreSQL has independently >> > implemented its own set of installation and upgrade scripts, which >> > has typically included some form of table for storing the current >> > schema version and

Re: [GENERAL] The scope of extensions

2012-04-16 Thread Guillaume Lelarge
On Mon, 2012-04-16 at 21:16 +0200, Guillaume Lelarge wrote: > On Mon, 2012-04-16 at 16:46 +0100, Roger Leigh wrote: > > On Mon, Apr 16, 2012 at 10:22:19AM -0500, Merlin Moncure wrote: > > > On Mon, Apr 16, 2012 at 10:05 AM, Roger Leigh > > > wrote: > > > > The reason for the above is that I'd ver

Re: [GENERAL] The scope of extensions

2012-04-16 Thread Guillaume Lelarge
On Mon, 2012-04-16 at 16:46 +0100, Roger Leigh wrote: > On Mon, Apr 16, 2012 at 10:22:19AM -0500, Merlin Moncure wrote: > > On Mon, Apr 16, 2012 at 10:05 AM, Roger Leigh wrote: > > > The reason for the above is that I'd very much like to be able to > > > version my entire application's schema usin

Re: [GENERAL] The scope of extensions

2012-04-16 Thread Roger Leigh
On Mon, Apr 16, 2012 at 10:22:19AM -0500, Merlin Moncure wrote: > On Mon, Apr 16, 2012 at 10:05 AM, Roger Leigh wrote: > > The reason for the above is that I'd very much like to be able to > > version my entire application's schema using the extension mechanism > > (or something based upon the ide

Re: [GENERAL] The scope of extensions

2012-04-16 Thread Merlin Moncure
On Mon, Apr 16, 2012 at 10:05 AM, Roger Leigh wrote: > Hi folks, > > I'm a happy creator/user of extensions (e.g. my postgresql_debversion > extension).  But I'm wondering if they can be used for more than just > simple types: > > - can an extension depend upon another extension?  This would proba

[GENERAL] The scope of extensions

2012-04-16 Thread Roger Leigh
Hi folks, I'm a happy creator/user of extensions (e.g. my postgresql_debversion extension). But I'm wondering if they can be used for more than just simple types: - can an extension depend upon another extension? This would probably be implicit based upon the use of an object which belonged t