Re: [HACKERS] psql - add special variable to reflect the last querystatus

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: [HACKERS] psql - add special variable to reflect the last querystatus
Дата
Msg-id
alpine.DEB.2.20.1709131126390.20876@lancre
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] psql - add special variable to reflect the last query status Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] psql - add special variable to reflect the last querystatus Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] psql - add special variable to reflect the last querystatus Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] psql - add special variable to reflect the last query status Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] psql - add special variable to reflect the last query status Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] psql - add special variable to reflect the last query status Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] psql - add special variable to reflect the last query status Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] psql - add special variable to reflect the last querystatus Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] psql - add special variable to reflect the last query status Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] psql - add special variable to reflect the last querystatus Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] psql - add special variable to reflect the last querystatus Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] psql - add special variable to reflect the last query status Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] psql - add special variable to reflect the last query status Pavel Stehule <pavel.stehule@gmail.com>

>> One thing we could think about if this seems too high is to drop
>> ROW_COUNT.  I'm unconvinced that it has a real use-case, and it seems
>> to be taking more than its share of the work in non-error cases, because
>> it turns out that PQcmdTuples() is not an amazingly cheap function.
>
> I do think that a small overhead on a contrived case is worth removing the 
> feature, as it is really insignificant on any realistic case.

Please read: I do NOT think that...

-- 
Fabien.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата:
От: Andres Freund
Дата:
FAQ