Hi all,

After an installation from CVS tip, I start the postmaster with the
-d(anything) flag. The postmaster starts up normally. I then try to
connect using psql, and either a TRAP is triggered (not using -A 0)
or an invalid cache id is found (using -A 0)

When I start the postmaster without the -d flag, I have no problems
in connecting from psql.

Any ideas?

Regards,
Grant

Necessary info:
. Sources are CVS tip, pulled today
. uname -a
Linux localhost.localdomain 2.4.20-19.9 #1 Tue Jul 15 17:18:13 EDT 2003 i686
i686 i386 GNU/Linux
. gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

. make maintainer-clean check install
./configure --with-java --prefix=/home/grant/bin/pgsql/
--with-integer-datetimes --enable-debug --enable-cassert

[grant@localhost pgsql-HEAD]$ postmaster -d1
LOG: database system was shut down at 2004-04-07 12:51:06 SAST
LOG: checkpoint record is at 0/9DCE0C
LOG: redo record is at 0/9DCE0C; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 465; next OID: 17208
LOG: database system is ready

Now, from another console do : psql -l

TRAP: BadState("!(((bool) ((CurrentUserId) != 0)))", File: "miscinit.c", Line: 252)
LOG: server process (PID 16802) was terminated by signal 6
LOG: terminating any other active server processes


[grant@localhost pgsql-HEAD]$ postmaster -A 0 -d1
LOG: database system was shut down at 2004-04-07 12:51:36 SAST
LOG: checkpoint record is at 0/9DCE8C
LOG: redo record is at 0/9DCE8C; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 465; next OID: 17208
LOG: database system is ready
FATAL: invalid cache id: 30

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedApr 7, '04 at 11:05a
activeApr 7, '04 at 6:53p
posts3
users3
websitepostgresql.org...
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase