Re: [HACKERS] bootstrap tables

2001-01-08 Thread Ross J. Reedstrom
On Sat, Jan 06, 2001 at 03:50:03AM +0100, Peter Eisentraut wrote: > Ross J. Reedstrom writes: > > > > Do you really need the thing to be a bootstrap table, and not a plain > > > system table? > > > > Yup, 'cause it's going to store the schema info, including the system > > schema. I forsee it nee

Re: [HACKERS] bootstrap tables

2001-01-05 Thread Peter Eisentraut
Ross J. Reedstrom writes: > > Do you really need the thing to be a bootstrap table, and not a plain > > system table? > > Yup, 'cause it's going to store the schema info, including the system > schema. I forsee it needing to be accessed immediately during bootstrap. Does "schema info" mean SQL s

Re: [HACKERS] bootstrap tables

2001-01-05 Thread Ross J. Reedstrom
On Fri, Jan 05, 2001 at 06:25:38PM -0500, Tom Lane wrote: > > Still, it sure looks like 'create bootstrap' should cause mdcreate() > to be called, so I'm not sure why you'd see the file not get created > at all. Have you tried tracing through it with a debugger? > > Do you really need the thing

Re: [HACKERS] bootstrap tables

2001-01-05 Thread Tom Lane
"Ross J. Reedstrom" <[EMAIL PROTECTED]> writes: > One difference between my new table and the other system tables, > perhaps, is that there is no code using the table: perhaps something > with how mdopen will substitute for mdcreate, and create files while > under bootstrapmode? I suspect that's

[HACKERS] bootstrap tables

2001-01-05 Thread Ross J. Reedstrom
Hey hackers - I'm having a bit of trouble with creating a new bootstrap system table. That is, one that is created during initdb via 'create bootstrap' in the PKI file. I realize that for this sort of system table, I need to add tuples via bootstrap DATA statements to pg_class.h, pg_attribute.h