Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0
Дата
Msg-id 200002241600.LAA23055@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Yes, but are there cases where we would want psqlrc values set?  Should
> > we specifically set all the variables ourselves on startup, just
> > over-riding what is in psqlrc?
> 
> No.  In the first place, we've already got a dozen or two SET variables
> (and the list keeps changing); do you really want to reset all of those
> in each regress test?  In the second place, a psqlrc script could screw
> things up in more creative ways than just issuing SET commands.  IIRC,
> Rolf's original example was a psqlrc that issued a BEGIN to leave the
> system in an open-transaction state.  In the third place, the psql echo
> output from any commands issued by psqlrc would itself be enough to
> cause bogus "failures" of all the tests.
> 

Yes, I see.  Just asking.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Minor problems reloading dump in 7.0beta1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0