Hello. I wanted to create a new system catalog in Postgres. So I changed the source code. Everything seems to be OK. I compiled it, but now after initdb I receive:
$ initdb -D /usr/home/postgres/post1 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale ru_RU.KOI8-R. The default database encoding has accordingly been set to KOI8. creating directory /usr/home/postgres/post1 ... ok creating subdirectories ... ok selecting default max_connections ... 40 selecting default shared_buffers/max_fsm_pages ... 28MB/179200 creating configuration files ... ok creating template1 database in /usr/home/postgres/post1/base/1 ... FATAL: could not open relation with OID 2617 child process exited with exit code 1 initdb: removing data directory "/usr/home/postgres/post1" I can't understand the reason. Can somebody help me. Akmal.