Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id ABE834773D9 for ; Tue, 28 Jan 2003 19:59:11 -0500 (EST) Received: from polaris.pinpointresearch.com (66-7-238-176.cust.telepacific.net [66.7.238.176]) by postgresql.org (Postfix) with ESMTP id 253824775B2 for ; Tue, 28 Jan 2003 18:25:59 -0500 (EST) Received: from there (66-7-238-179.cust.telepacific.net [66.7.238.179]) by polaris.pinpointresearch.com (Postfix) with SMTP id 330C5103E9; Tue, 28 Jan 2003 15:26:01 -0800 (PST) Content-Type: text/plain; charset="iso-8859-1" From: Steve Crawford Organization: Pinpoint Research To: Tom Lane , Michiel Lange Subject: Re: Cannot connect to the database (PG 7.3) Date: Tue, 28 Jan 2003 15:26:01 -0800 X-Mailer: KMail [version 1.3.1] Cc: pgsql-admin@postgresql.org References: <18236.1043628134@sss.pgh.pa.us> <5.1.0.14.0.20030128221603.00b33d50@192.168.1.3> <1656.1043790202@sss.pgh.pa.us> In-Reply-To: <1656.1043790202@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20030128232601.330C5103E9@polaris.pinpointresearch.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/317 X-Sequence-Number: 7159 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 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