Re: fix schema ownership for database owner on first connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix schema ownership for database owner on first connection
Date: 2004-06-08 14:50:23
Message-ID: 1515.1086706223@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
> (2) This boolean is tested in postinit.c:ReverifyMyDatabase,
> and InitializeDatabase is called if necessary.

And what happens if multiple backends try to connect at the same time?

> (4) Some validation is added. This part validates for me
> (although rules and errors regression tests are broken in current
> cvs head, independtly of this patch).

I do not think it's a good idea for the regression tests to do anything
to any databases other than regression. Especially not databases with
names that might match people's real databases.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-06-08 15:13:43 Re: cost_nonsequential_access()
Previous Message Bruce Momjian 2004-06-08 14:00:42 Re: Stylistic changes in bufmgr.c