Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for
Date
Msg-id c2d9e70e0703170810i6acc6349rced3f2e0d6ab6e42@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 3/5/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> In the second place, it's a serious violation of what little modularity
> and layering we have for fd.c to be calling into commands/tablespace.c.
> This is not merely cosmetic but has real consequences: one being that
> it's now unsafe to call OpenTemporaryFile outside a transaction.
>

ok, you are right... what do you suggest?
maybe move the GetTempTablespace function to somewhere in src/backend/utils?

-- 
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: Andrew Dunstan
Date:
Subject: Re: [PATCHES] xpath_array with namespaces support
Next
From: Michael Meskes
Date:
Subject: Re: SoC ECPG Enhancements