Philip Warner <pjw@rhyme.com.au> writes:
> ... I would prefer the
> 'CREATE DATABASE' code to set a value in a table somewhere to the last OID
> used when the DB was created. This would deal with the 'extended template1'
> scenario (which, incidentally, I am already a victim of). Could a new
> attribute be added to pg_database?
Hm. Offhand I don't see a hole in that idea, but it's too simple and
beautiful to be right ;-) ...
regards, tom lane