Re: [PATCHES] [HACKERS] allowed user/db variables

2003-07-28 Thread Tom Lane
Aizaz Ahmed <[EMAIL PROTECTED]> writes: > looks like there's some duplication between this array and the > static const char *const GucContext_names[] array in > src/backend/utils/misc/help_config.c > Is there some way we could have them both use the same array? Good idea. Please send a patch th

Re: [PATCHES] [HACKERS] allowed user/db variables

2003-07-28 Thread Aizaz Ahmed
On Sun, 2003-07-27 at 01:29, Joe Conway wrote: > Bruce Momjian wrote: > > Patch applied. Thanks. > /* > ! * Used for pg_settings. Keep in sync with config_type enum in guc_tables.h >*/ > static char *config_type_name[] = > { > *** > *** 176,181 > --- 176,182 >

Re: [PATCHES] [HACKERS] allowed user/db variables

2003-07-28 Thread Bruce Momjian
Patch applied. Thanks. --- Joe Conway wrote: > Bruce Momjian wrote: > > Patch applied. Thanks. > > > > There was enough code drift since this patch, that a couple of bugs > materialized. > > New items have been added

Re: [PATCHES] [HACKERS] allowed user/db variables

2003-07-28 Thread Aizaz Ahmed
On Mon, 2003-07-28 at 10:57, Tom Lane wrote: > Good idea. Please send a patch that exports the guc.c array for use in > the other file. I'd lean towards the lower-cased spellings, though I'm > not strong about it. (I'd also not use a dash in "super-user".) I've attached the patch below. It modi

Re: [PATCHES] [HACKERS] allowed user/db variables

2003-07-28 Thread Tom Lane
Aizaz Ahmed <[EMAIL PROTECTED]> writes: >> Good idea. Please send a patch that exports the guc.c array for use in >> the other file. I'd lean towards the lower-cased spellings, though I'm >> not strong about it. (I'd also not use a dash in "super-user".) > I've attached the patch below. It modi

Re: [PATCHES] ruleutils with pretty-print option

2003-07-28 Thread Andreas Pflug
Tom Lane wrote: Andreas Pflug <[EMAIL PROTECTED]> writes: + int prettyFlags = !PG_ARGISNULL(1) && PG_GETARG_BOOL(1) ? PRETTYFLAG_PAREN|PRETTYFLAG_INDENT : 0; Since the pg_proc entries are all marked strict, it's unnecessary for you to write any ARGISNULL checks. Yeah you're ri

[PATCHES] [pgsql-rus] Russian NLS update: pg_dump, libpq, pg_controldata,pg_resetxlog, pgscripts (fwd)

2003-07-28 Thread Serguei A. Mokhov
Hello, Apparently -patches limit is under 40k... Please retrieve the translation patch via the following URL: Thanks, -- Serguei A. Mokhov| /~\The ASCII Computer Science Department | \ / Ribbon Cam