Re: template1, can there be a template2/3/4?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Mercer <jim(at)reptiles(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: template1, can there be a template2/3/4?
Date: 2001-06-04 18:16:35
Message-ID: 6618.991678595@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I wrote:
> Jim Mercer <jim(at)reptiles(dot)org> writes:
>> where are these relations? is this a compile-time thing, or can it be done
>> on-the-fly?

> Compile-time; see SharedSystemRelationNames in
> backend/utils/init/globals.c. You'd have to do an initdb after changing
> it, anyway.

BTW, the reason that pg_shadow is installation-wide is that it's
not real clear what the 'ownership' column in pg_database means
if users are not installation-wide. Before cutting and hacking,
you'd need to think carefully about just what semantics you are
really after.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Barnard 2001-06-04 18:29:42 Re: libpq and PostgreSQL NOTICEs
Previous Message Tom Lane 2001-06-04 18:07:40 Re: template1, can there be a template2/3/4?