pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Michiel Lange <michiel@minas.demon.nl>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cannot connect to the database (PG 7.3)
Date: Tue, 28 Jan 2003 15:26:01 -0800
Message-ID: <20030128232601.330C5103E9@polaris.pinpointresearch.com> (raw)
In-Reply-To: <1656.1043790202@sss.pgh.pa.us>
References: <18236.1043628134@sss.pgh.pa.us>
	<5.1.0.14.0.20030128221603.00b33d50@192.168.1.3>
	<1656.1043790202@sss.pgh.pa.us>

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@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@minas.demon.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



view thread (16+ messages)  latest in thread

Message-ID: <20030128232601.330C5103E9@polaris.pinpointresearch.com>
Permalink:  ../20030128232601.330C5103E9@polaris.pinpointresearch.com/
Also on:    postgresql.org/message-id/20030128232601.330C5103E9@polaris.pinpointresearch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: scrawford@pinpointresearch.com, tgl@sss.pgh.pa.us, michiel@minas.demon.nl
  Subject: Re: Cannot connect to the database (PG 7.3)
  In-Reply-To: <20030128232601.330C5103E9@polaris.pinpointresearch.com>
  References: <18236.1043628134@sss.pgh.pa.us> <5.1.0.14.0.20030128221603.00b33d50@192.168.1.3> <1656.1043790202@sss.pgh.pa.us> <20030128232601.330C5103E9@polaris.pinpointresearch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox