Re: error initializing the db - Mailing list pgsql-general

From Tom Lane
Subject Re: error initializing the db
Date
Msg-id 6358.1472845860@sss.pgh.pa.us
Whole thread Raw
In response to error initializing the db  (Jennyfer Sanchez <jjsanchez@mail.usf.edu>)
List pgsql-general
Jennyfer Sanchez <jjsanchez@mail.usf.edu> writes:
> I was able to install postgresql but I got an error after putting the
> command /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data/ to initialize
> the database. The error that I am getting is

> FATAL:  wrong number of index expressions
> STATEMENT:  CREATE TRIGGER pg_sync_pg_database   AFTER INSERT OR
> UPDATE OR DELETE ON
> pg_database   FOR EACH STATEMENT EXECUTE PROCEDURE flatfile_update_trigger();

That looks suspiciously like this thread:

https://www.postgresql.org/message-id/flat/20150120161817.GO1663%40alvh.no-ip.org#20150120161817.GO1663@alvh.no-ip.org

which would suggest that you're trying to build some fairly old PG version
with some fairly new C compiler.  Whether that's actually the case, well,
you didn't give enough info to tell.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: error initializing the db
Next
From: Scott Marlowe
Date:
Subject: Re: 2.5TB Migration from SATA to SSD disks - PostgreSQL 9.2