Re: BUG #10794: psql sometimes ignores .psqlrc

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: BUG #10794: psql sometimes ignores .psqlrc
Дата
Msg-id 53C66BA9.6040005@joh.to
обсуждение исходный текст
Ответ на Re: BUG #10794: psql sometimes ignores .psqlrc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 7/16/14 3:51 AM, Tom Lane wrote:
> So I'm satisfied with the behavior of HEAD in this area.  There's a case
> to be made for back-patching commit 9099e4afe into older branches, but
> I'm not sure if that'd be a good idea or not.  People might be depending
> on the old behavior.

I can't envision how anyone could be depending on the old behaviour, but
then again, I'm not very imaginative.

> A different line of thought would be to reset cancel_pressed before
> starting the processing of any script file, so that you actually have to
> press control-C *during* the processing of a file to cancel it.  That's
> just narrowing the race condition window some more, but it might be
> worth doing.

If you feel like backpatching is too much, I think we should at least
narrow the window down like this.  There's still a chance for a major
duck-up, but you'd have to get very unlucky to pull that off.


.marko

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

Предыдущее
От: Vadim Kalinkin
Дата:
Сообщение: SQLSTATE 00000 and message level LOG get logged when a server process crashes
Следующее
От: David Tonhofer
Дата:
Сообщение: Documentation problem: The syntax for "\copy" is just wrong