adding a new catalog

Started by andrewalmost 20 years ago3 messages
#1andrew
andrew.ylzhou@gmail.com

Hi

I am trying to add a new catalog to the system. I had followed the
instructions in the comments. Now I can see the definition of the new
catalog table and its index in file "postgres.bki" after doing make.

However, initdb still did not create the new catalog table. From the
debug information of initdb, it only creates other catalogs. What
steps did I miss here?

--
andrew

#2Alvaro Herrera
alvherre@commandprompt.com
In reply to: andrew (#1)
Re: adding a new catalog

andrew wrote:

I am trying to add a new catalog to the system. I had followed the
instructions in the comments. Now I can see the definition of the new
catalog table and its index in file "postgres.bki" after doing make.

However, initdb still did not create the new catalog table. From the
debug information of initdb, it only creates other catalogs. What
steps did I miss here?

Are you sure that the postgres.bki file that initdb is picking up
contains your modifications? i.e. did you "make install" in the whole
source tree?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

#3andrew
andrew.ylzhou@gmail.com
In reply to: Alvaro Herrera (#2)
Re: adding a new catalog

oh, my mistake. I only do "make install-bin". Now it is successfully
created. Thanks.

On 2/8/06, Alvaro Herrera <alvherre@commandprompt.com> wrote:

andrew wrote:

I am trying to add a new catalog to the system. I had followed the
instructions in the comments. Now I can see the definition of the new
catalog table and its index in file "postgres.bki" after doing make.

However, initdb still did not create the new catalog table. From the
debug information of initdb, it only creates other catalogs. What
steps did I miss here?

Are you sure that the postgres.bki file that initdb is picking up
contains your modifications? i.e. did you "make install" in the whole
source tree?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

--
andrew