From: Bruce Momjian <pgman@candle.pha.pa.us>
To: daniel alvarez <d-alvarez@gmx.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: neilc@samurai.com
Cc: chriskl@familyhealth.com.au
Cc: dev@archonet.com
Cc: pgsql-performance@postgresql.org
Subject: Re: OIDs as keys
Date: Mon, 10 Mar 2003 11:05:21 -0500 (EST)
Message-ID: <200303101605.h2AG5La28728@candle.pha.pa.us> (raw)
In-Reply-To: <19376.1047154592@www68.gmx.net>
daniel alvarez wrote:
> > daniel alvarez <d-alvarez@gmx.de> writes:
> > >> Not ugly, but a little noisy. However, my idea of having a single SET
> > >> at the top is never going to work, so I don't have a better idea.
> >
> > > Why isn't this done on a per-session basis?
> >
> > Because pg_dump can't know what the session default will be when the
> > dump is reloaded. The scheme you are proposing will only succeed in
> > making pg_dump unreliable.
>
> Ouch. Why is this? Doesn't it read the config because of portability
> reasons?
Remember the dump output is just an SQL script, so there is no 'logic'
in the script, and it can be loaded right into psql.
--
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, Pennsylvania 19073
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: pgman@candle.pha.pa.us, d-alvarez@gmx.de, tgl@sss.pgh.pa.us, neilc@samurai.com, chriskl@familyhealth.com.au, dev@archonet.com
Subject: Re: OIDs as keys
In-Reply-To: <200303101605.h2AG5La28728@candle.pha.pa.us>
References: <19376.1047154592@www68.gmx.net> <200303101605.h2AG5La28728@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox