Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthatallows selection of - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthatallows selection of
Date
Msg-id c2d9e70e0706042133k14a62dcude760b7ecbc51252@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthatallows selection of  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On 6/5/07, Bruce Momjian <bruce@momjian.us> wrote:
> Simon Riggs wrote:
> > > Assuming, that is, that you think this point is important enough to
> > > drive the whole design; which I find rather questionable in view of the
> > > fact that the submitted patch contained no mention whatever of any such
> > > consideration.  Or is this just another way in which its documentation
> > > was not up to snuff?
> >
> > Well, it was listed in the TODO, but I guess that was lost somewhere
> > along the line. Oh well.
>
> The TODO description was removed once the item was complete because
> sometimes the description doesn't match the implementation.  The
> description was:
>
>     It could start with a random tablespace from a supplied list and
>     cycle through the list.
>

that is what the patch did but it did it one tablespace per BufFile
(not per file)

of course, it parses the GUC on every GetTempTablespaces() call :(

-- 
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."                                      Richard Cook


pgsql-hackers by date:

Previous
From: "Golden Liu"
Date:
Subject: [HACHERS] privilege check: column level only?
Next
From: Heikki Linnakangas
Date:
Subject: GIN, XLogInsert and MarkBufferDirty