Re: PATCH: psql tab completion for SELECT

Поиск
Список
Период
Сортировка
От Edmund Horner
Тема Re: PATCH: psql tab completion for SELECT
Дата
Msg-id CAMyN-kCr6aUFaE=ov+_r=b4nS_ihtmJ8-MLMoomZGWdNFgMaVw@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] PATCH: psql tab completion for SELECT  (Edmund Horner <ejrh00@gmail.com>)
Ответы Re: PATCH: psql tab completion for SELECT
Список pgsql-hackers
And here's a patch to add savepoint protection for tab completion.

It could definitely use some scrutiny to make sure it's not messing up
the user's transaction.

I added some error checking for the savepoint creation and the
rollback, and then wrapped it in #ifdef NOT_USED (just as the query
error checking is) as I wasn't sure how useful it is for normal use.

But I do feel that if psql unexpectedly messes up the transaction, it
should report it somehow.  How can we tell that we've messed it up for
the user?

Cheers,
Edmund

Вложения

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

Предыдущее
От: Joe Wildish
Дата:
Сообщение: Re: Implementing SQL ASSERTION
Следующее
От: Andres Freund
Дата:
Сообщение: Re: PATCH: psql tab completion for SELECT