Re: creating "user" table

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Chris <tomcat(at)weirdness(dot)com>
Cc: Vince Vielhaber <vev(at)michvhf(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: creating "user" table
Date: 2001-09-23 02:10:14
Message-ID: Pine.LNX.4.30.0109230409380.683-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris writes:

> I meant only be able to create users when you're connected to the template1 db.
>
> so
> test=# create user x;
>
> wouldn't work, since you're not using template1.
>
> that way the user keyword would be free to use as a table name.

But the parser is fixed at compile time and doesn't change depending on
the database you're connected to.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-09-23 03:08:22 Multibyte FAQ item
Previous Message Chris 2001-09-23 00:46:27 Re: creating "user" table