Re: bootstrap tables
От | Ross J. Reedstrom |
---|---|
Тема | Re: bootstrap tables |
Дата | |
Msg-id | 20010108105658.A26608@rice.edu обсуждение исходный текст |
Ответ на | Re: bootstrap tables (Peter Eisentraut <peter_e@gmx.net>) |
Список | pgsql-hackers |
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 needing to be accessed immediately during bootstrap. > > Does "schema info" mean SQL schemas or merely additional schema > information along the lines of pg_class, etc.? > I thought that might prick your ears up. Yes, I'm looking at just how horrible it might be to implement SQL schemas. As it turns out, I think Tom is right, and I can just use a regular system table. I've got that working, and some of the gammar modified to accept the schema.table notation: now I'm working from both ends on all the places in between that need to know about the schema. Vadim's work replacing relnames with relfilenode helps to some extent. I'm taking the simplistic approach of adding the schema name wherever the relname is currently used, in parallel, and introducing a new global, the current default schema. As I said in my first note, I'm trying this out, regardless if it's the best way to implement the feature (why is it that I only seem to find time to work on new stuff in pgsql when we're in beta?) We can debate a better implementation after I have roughly working code, or have given up on it as a bad idea. As it happens, my pgsql time this week is taken up by another task, so I won't be working on this until the weekend, at the earliest. Ross
В списке pgsql-hackers по дате отправления: