Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA18658; Fri, 21 May 93 22:14:25 -0700
From: "Anuradha M. Sastri" <anu@horton.GEOG.UCSB.EDU>
Subject: Re: Postgres Port on AIX 3.2
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Date: Fri, 21 May 1993 22:14:33 -0700
From: "Anuradha M. Sastri" <anu@horton.GEOG.UCSB.EDU>
Message-Id:  <9305212214.aa23882@pollux.GEOG.UCSB.EDU>


Hai

	I have ported the postgres v 4.1 on IBM RS/6000 running AIX 3.2.
	The initdb ran successfully. When i try to run the regression 
	tests, i encounter the following error. 

>createdb regression 

>WARN:May 21 21:59:14:cannot find attribute 1 of relation pg_user
/home/horton/u5/from.usr/src/bs/postgres/postgres.v4/aix/bin/createdb: database creation failed on regression.

	When I run the postmaster in the debug mode, i get the following message,
postmaster child[28442]: execv(/home/horton/u5/from.usr/src/bs/postgres/postgres.v4/aix/bin/postgres, -p, -d3, -o, /dev/null, -P5, template1, )
postmaster: BackendStartup: forked pid[28442] on socket 5
postmaster: ServerLoop:         done with 5
FindBackend: found "/home/horton/u5/from.usr/src/bs/postgres/postgres.v4/aix/bin/postgres" using argv[0]
        ---debug info---
        Quiet =        f
        Noversion =    f
        stable    =    f
        timings   =    f
        bufsize   =    64
        query echo =   f
        DatabaseName = [template1]
        ----------------

        InitPostgres()..
postmaster: reaping dead processes...

	When I run the postmaster under the dbx, i get the following stack trace
	trace.

	Did any of you encounter similar problems when porting. Please let me 
	know. 

	I would much appreciate, if some one gives me pointers as to what is going
	wrong. 

---
anu
	
==================================================================================
build_tupdesc_ind(relation = 0x201c96f8, attp = (nil), 0x201c96f8, 0x0, 0x6), line 588 in "relcache.c"
RelationBuildTupleDesc(buildinfo = (...), relation = 0x201c96f8, attp = (nil), natts = 6), line 499 in "relcache.c"
RelationBuildDesc(buildinfo = (...)), line 715 in "relcache.c"
RelationNameGetRelation(relationName = 0x201210a8), line 1053 in "relcache.c"
heap_openr(relationName = 0x201210a8), line 704 in "heapam.c"
unnamed block $b1330, line 158 in "catcache.c"
CatalogCacheInitializeCache(cache = 0x201c7648, relation = (nil)), line 158 in "catcache.c"
SearchSysCache(cache = 0x201c7648, v1 = "postgres", v2 = (nil), v3 = (nil), v4 = (nil)), line 792 in "catcache.c"
SearchSysCacheTuple(cacheId = 27, key1 = "postgres", key2 = (nil), key3 = (nil), key4 = (nil)), line 468 in "syscache.c"
SetUserId(), line 271 in "miscinit.c"
InitUserid(), line 282 in "postinit.c"
InitPostgres(name = "template1"), line 618 in "postinit.c"
PostgresMain(argc = 7, argv = 0x2ff7f938), line 1183 in "postgres.c"
main(argc = 7, argv = 0x2ff7f938), line 32 in "main.c"
201c7648, relation = (nil)), line 158 in "catcache.c"
SearchSysCache(cache = 0x201c7648, v1 = "postgres", v2 = (nil), v3 = (nil), v4 = (nil)), line 792 in "catcache.c"
SearchSysCacheTuple(cacheId = 27, key1 = "postgres", key2 = (nil), key3 = (nil), key4 = (nil)), line 468 in "syscache.c"
SetUserId(), line 271 in "miscinit.c"
InitUserid(), line 282 in "postinit.c"
InitPostgres(name = "template1"), line 618 in "postinit.c"
PostgresMain(argc = 7, argv = 0x2ff7f938), line 1183 in "postgres.c"
main(argc = 7, argv = 0x2ff7f938), line 32 in "main.c"7, argv = 0x2ff7f938), line 32 in "main.c"
		
