initdb Error: 'oid8'
initdb Error: 'oid8'
От:
mjp@ornl.gov
Дата:
Hello, Does anyone know what the unknow error type 'oid8' generated by initdb means (v7.0 under linux)? postgres@mbspc:~ > /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data This database system will be initialized with username "postgres". This user will own all the data files and must also own the server process. Fixing permissions on pre-existing data directory /usr/local/pgsql/data Creating database system directory /usr/local/pgsql/data/base Creating database XLOG directory /usr/local/pgsql/data/pg_xlog Creating template database in /usr/local/pgsql/data/base/template1 ERROR: Error: unknown type 'oid8'. ERROR: Error: unknown type 'oid8'. Creating global relations in /usr/local/pgsql/data/base cp: /usr/lib/pgsql/lib/postmaster.opts.default.sample: No such file or directory initdb failed. Removing /usr/local/pgsql/data. Removing temp file /tmp/initdb.5458. postgres@mbspc:~ > Thanks, Morey Parang ORNL
Re: initdb Error: 'oid8'
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
mjp@ornl.gov writes: > Fixing permissions on pre-existing data directory /usr/local/pgsql/data > Creating database system directory /usr/local/pgsql/data/base > Creating database XLOG directory /usr/local/pgsql/data/pg_xlog > Creating template database in /usr/local/pgsql/data/base/template1 > ERROR: Error: unknown type 'oid8'. That's different --- usually we've heard about complaints mentioning 'oidvector' from people who've tried to initdb with 7.0 library files and a pre-7.0 postgres executable. Looks like you've managed to feed pre-7.0 library files to a 7.0 executable. Check your PGLIB environment setting... regards, tom lane