Re: OIDs as keys

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: OIDs as keys
Дата
Msg-id
200303101605.h2AG5La28728@candle.pha.pa.us
Ответ на
Re: OIDs as keys (daniel alvarez)
Список
Дерево обсуждения
Re: OIDs as keys daniel alvarez <d-alvarez@gmx.de>
Re: OIDs as keys Tom Lane <tgl@sss.pgh.pa.us>
daniel alvarez wrote:
> > daniel alvarez  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
В списке pgsql-performance по дате отправления
От: daniel alvarez
Дата:
Сообщение: Re: OIDs as keys
От: scott.marlowe
Дата:
Сообщение: Re: Index / Performance issues
FAQ