Re: [HACKERS] pg_guc

2003-06-27 Thread Aizaz Ahmed
On Fri, 2003-06-27 at 10:32, Tom Lane wrote: > Aizaz, if you look at backend/main/main.c it should be pretty obvious > how to handle this --- it's just like bootstrap mode. main.c kicks off > control to GucInfoMain or whatever we call it, and then that routine > can act pretty much the same as if

Re: [HACKERS] pg_guc

2003-06-27 Thread Tom Lane
Aizaz Ahmed <[EMAIL PROTECTED]> writes: > On Fri, 2003-06-27 at 11:52, Josh Berkus wrote: >> Are you suggesting putting a copy of the list of GUCs in a system table? I'd >> be for that > hmmm ... I thought what this meant was that we don't factor the tables > out into guc_vars.h, but leave

Re: [HACKERS] pg_guc

2003-06-27 Thread Aizaz Ahmed
On Fri, 2003-06-27 at 11:52, Josh Berkus wrote: > Are you suggesting putting a copy of the list of GUCs in a system table? I'd > be for that hmmm ... I thought what this meant was that we don't factor the tables out into guc_vars.h, but leave them in guc.c. (adding the descriptions etc. th

Re: [HACKERS] pg_guc

2003-06-27 Thread Tom Lane
Josh Berkus <[EMAIL PROTECTED]> writes: > Are you suggesting putting a copy of the list of GUCs in a system > table? Aizaz is not doing that, but see Joe Conway's proposed patch to pg_settings. regards, tom lane ---(end of broadcast)---

Re: [HACKERS] pg_guc

2003-06-27 Thread Josh Berkus
Tom, > Aizaz, if you look at backend/main/main.c it should be pretty obvious > how to handle this --- it's just like bootstrap mode. main.c kicks off > control to GucInfoMain or whatever we call it, and then that routine > can act pretty much the same as if it were the actual main() of a > standa

Re: [HACKERS] pg_guc

2003-06-27 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Fernando Nasser writes: >> We have a server side GUI utility that among other things let us configure GUC >> variables. We badly need to know what variables exist in the specific backend >> version, which are the min and max values and if possible a d

Re: [HACKERS] pg_guc

2003-06-27 Thread Peter Eisentraut
Fernando Nasser writes: > We have a server side GUI utility that among other things let us configure GUC > variables. We badly need to know what variables exist in the specific backend > version, which are the min and max values and if possible a description. In that case I think it's best to pu

Re: [HACKERS] pg_guc

2003-06-26 Thread Josh Berkus
Fernando, > We have a server side GUI utility that among other things let us configure GUC > variables. We badly need to know what variables exist in the specific backend > version, which are the min and max values and if possible a description. The > option is to hardwire these things int