Re: Disabling function validation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Disabling function validation
Дата
Msg-id 200310081457.h98EvVV24808@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Disabling function validation  ("Matthew T. O'Connor" <matthew@zeut.net>)
Список pgsql-hackers
Matthew T. O'Connor wrote:
> Tom Lane wrote:
> 
> >Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >  
> >
> >>Should we add a variable that is set from the dump filew that identifies
> >>the version of PostgreSQL that generated the dump?
> >>    SET dumped_version = 7.3
> >>    
> >>
> >
> >Is that identifying the backend version, or the pg_dump version?
> >
> >Without a solid rationale for this, I'd rather not do it.
> >
> >  
> >
> Why not both?  I would also think this info could be used in pg_restore 
> in some way at some point.  Even if if can't, wouldn't it be worth it 
> just for debugging purposes.  Knowing for sure what the backend and 
> pg_dump versions were could be helpful.

My guess was that this information would allow us to change the behavior
of PostgreSQL in the future but allow older dumps to still load.

--  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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cannot dump/restore text value \N
Следующее
От: "scott.marlowe"
Дата:
Сообщение: IDE Drives and fsync