Database access problem : SOS
Database access problem : SOS
От:
mjoseph@inautix.com
Дата:
Hi, I am new to PostgreSQL. I am running PostgreSQL on top of Cygwin on Windows NT. I am able to initialize the database cluster and create template1. I log in and even create a 'test' table. But querying it results in the error. ERROR: pg_class_aclcheck: invalid user id 1730 Someone please help! This is the sequence of steps I follow. mkdir /usr/local/pgsql/data chown 1730 /usr/local/pgsql/data ipc-daemon & initdb -D /usr/local/pgsql/data -U 1730 -W psql -U 1730 template1 My NT user id is 1730 and I have admin privileges. Like I said earlier, I am able to login. But I am unable to query any tables. Anyone out there got any clues? Regards, Manoj
Re: [ADMIN] Database access problem : SOS
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
mjoseph@inautix.com writes: > ipc-daemon & > initdb -D /usr/local/pgsql/data -U 1730 -W > psql -U 1730 template1 If this is PG 7.3.*, there are some recently-identified problems with using all-numeric usernames. Use a name instead of a number. regards, tom lane