Re: DB-local usernames

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, Ron Snyder <snyder(at)roguewave(dot)com>, Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DB-local usernames
Date: 2002-08-06 08:10:02
Message-ID: 1028621402.11605.0.camel@taru.tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2002-08-06 at 08:43, Bruce Momjian wrote:
> I have given this some thought. Peter's objection was that he objects
> to any change that "makes any characters in the user name magic".
>
> I don't think my patch does that. If you don't enable the feature,
> everything works just the same. If you turn it on, it unconditionally
> prefixes the username with the database name and a period. You can
> still have periods in the username. The code doesn't check for any
> periods in the username passed to the backend.

what about :

[hannu(at)taru hannu]$ createdb this.is.legal.database.name
CREATE DATABASE
[hannu(at)taru hannu]$ psql this.is.legal.database.name
Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

this.is.legal.database.name=#

---------------
Hannu

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-06 08:10:20 Re: [Fwd: Who here is an AUUG member? (Australian Unix Users Group)]
Previous Message Justin Clift 2002-08-06 08:07:38 [Fwd: Who here is an AUUG member? (Australian Unix Users Group)]