Re: [PATCH] Provide rowcount for utility SELECTs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Provide rowcount for utility SELECTs
Дата
Msg-id 26441.1262031488@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Provide rowcount for utility SELECTs  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: [PATCH] Provide rowcount for utility SELECTs  (Boszormenyi Zoltan <zb@cybertec.at>)
Re: [PATCH] Provide rowcount for utility SELECTs  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Boszormenyi Zoltan <zb@cybertec.at> writes:
> Tom Lane �rta:
>> It's more the possibility of doing strcmp(tag, "SELECT") on the command

> Actually it's strncmp(tag, "SELECT ", 7), so when you mix old server
> with new clients or new server with old client, it will just work as
> before, i.e. return "".

Are you deliberately ignoring the point?  We have no way to know whether
there is any client-side code that's doing a simple check for SELECT
command tag, but it's certainly possible.  The fact that it wouldn't be
hard to fix does not mean that it wouldn't be broken.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ExecTidReScan exprCtxt
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Admission Control Policy