Re: Idea about better configuration options for sort memory - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Idea about better configuration options for sort memory
Date
Msg-id 200402021602.i12G2dO10067@candle.pha.pa.us
Whole thread Raw
In response to Re: Idea about better configuration options for sort memory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> After looking at the code a bit, I think the simplest solution is for
> find_option to look in a separate mapping table (mapping from old to new
> option name) if it doesn't find the given name in the main table.  This
> would make lookup of "old" names a shade slower than "preferred" names,
> but that doesn't seem like a problem.
> 
> With this approach, old GUC names would be recognized in SHOW and SET
> commands, as well as the other ways you can set a variable by name
> (postgresql.conf, ALTER USER SET, etc).  But only the new names would
> appear in SHOW ALL or the pg_settings view.  Does that seem OK?

Sounds good.  The idea that we can keep the names constant seems to be a
losing proposal.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: pg_restore bug in 7.4.1 ?
Next
From: Jan Wieck
Date:
Subject: Re: [pgsql-hackers-win32] What's left?