Re: Cannot connect to the database (PG 7.3)

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michiel Lange <michiel(at)minas(dot)demon(dot)nl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Cannot connect to the database (PG 7.3)
Date: 2003-01-28 23:26:01
Message-ID: 20030128232601.330C5103E9@polaris.pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Hmmm, I tried it (7.3.1) and it seems to work fine. Perhaps something else is
going on - pg_hba.conf setup??:

steve=# create user "12345";
CREATE USER

steve(at)betelgeuse:~> psql -h betelgeuse -U 12345 steve
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

steve=>

Cheers,
Steve

On Tuesday 28 January 2003 1:43 pm, Tom Lane wrote:
> Michiel Lange <michiel(at)minas(dot)demon(dot)nl> writes:
> > It is, somehow, not possible to connect as a user which name is
> > completely numeric.
>
> I muttered "nonsense!" to myself, but darned if you're not right:
>
> regression=# create user "12345";
> CREATE USER
> regression=# \q
> $ psql -U 12345 regression
> psql: FATAL: SET SESSION AUTHORIZATION: permission denied
>
> Will look into it.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-01-28 23:29:55 Re: Cannot connect to the database (PG 7.3)
Previous Message Tom Lane 2003-01-28 22:04:22 Re: [ADMIN] Cannot connect to the database (PG 7.3)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-01-28 23:29:55 Re: Cannot connect to the database (PG 7.3)
Previous Message Reggie Burnett 2003-01-28 22:24:57 Re: Request for qualified column names