Re: savepoint improvements

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: savepoint improvements
Дата
Msg-id 1169457345.2735.13.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: savepoint improvements  ("Merlin Moncure" <mmoncure@gmail.com>)
Ответы Re: savepoint improvements  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-hackers
On Sat, 2007-01-20 at 18:08, Merlin Moncure wrote:
[snip]
> To be honest, I'm not a huge fan of psql tricks (error recovery being
> another example)  but this could provide a solution.  in your opnion,
> how would you use \if to query the transaction state?

Wouldn't it make sense to introduce instead something like:

\set language plpgsql
... and then redirect to plpgsql all you type ?

That would give you the possibility to execute things in your favorite
language directly from psql without creating a function.

Cheers,
Csaba.




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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: [GENERAL] Autovacuum Improvements
Следующее
От:
Дата:
Сообщение: STOP all user access except for admin for a few minutes?