Has anyone gotten Postgres 6.3.2 running on SCO UnixWare 2.1.2?
I can get it to compile and install but initdb fails.
postgres core dumps processing this line in initdb:
echo "CREATE RULE _RETpg_user AS ON SELECT TO pg_user DO INSTEAD \
SELECT usename, usesysid, usecreatedb, usetrace, \
usesuper, usecatupd, '********':: test as passwd, \
valuntil FROM pg_shadow;" | \
postgres $PGSQL_OPT template1 > /dev/null
postgres coredumps in yyparse() in gram.c.
here is some debug output:
Core image of postgres (process p1) created
CORE FILE [yyparse in gram.c]
Signal: sigsegv Fault address: 0x282c504c
8700: # line 4688 "gram.y"
debug> stack
Stack Trace for p1, Program postgres
[7] yyparse(presumed: 0, 0x829a4bc, 0x8045bb4) [gram.c@8700]
[6] parser(Warning: Formatted print string too long, truncated
str="CREATE RULE _RETpg_user AS ON SELECT TO pg_user DO INSTEAD\t\t
SELECT usename,
usesysid, usecreated", typev=0x0, nargs=0) [parser.c@53]
[5] pg_parse_and_plan(Warning: Formatted print string too long,
truncated
query_string="CREATE RULE _RETpg_user AS ON SELECT TO pg_user DO
INSTEAD\t\t SELECT
usename, usesysid, usecreated", typev=0x0, nargs=0,
queryListP=0x8045bdc, dest=Debug)
[postgres.c@398]
[4] pg_exec_query_dest(Warning: Formatted print string too long,
truncated
query_string="CREATE RULE _RETpg_user AS ON SELECT TO pg_user DO
INSTEAD\t\t SELECT
usename, usesysid, usecreated", argv=0x0, typev=0x0, nargs=0,
dest=Debug) [pos
tgres.c@619]
[3] pg_exec_query(Warning: Formatted print string too long, truncated
query_string="CREATE RULE _RETpg_user AS ON SELECT TO pg_user DO
INSTEAD\t\t SELECT
usename, usesysid, usecreated", argv=0x0, typev=0x0, nargs=0)
[postgres.c@601]
[2] PostgresMain(argc=7, argv=0x8047c8c) [postgres.c@1382]
[1] main(argc=7, argv=0x8047c8c, 0x8047cac) [main.c@106]
[0] _start() [0x804a7ec]
debug>
Any help would be deeply appreciated.