Re: psql - factor out echo code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql - factor out echo code
Дата
Msg-id 3409118.1626214581@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql - factor out echo code  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: psql - factor out echo code
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> Attached v4 simplifies the format and fixes this one.

I think this goes way way overboard in terms of invasiveness.
There's no need to identify individual call sites of PSQLexec.
We didn't have anything like that level of detail before, and
there has been no field demand for it either.  What I had
in mind was basically to identify the call sites of echoQuery,
ie distinguish user commands from psql-generated commands
with labels like "QUERY:" vs "INTERNAL QUERY:".  We don't
need to change the APIs of existing functions, I don't think.

It also looks like a mess from the translatibility standpoint.
You can't expect "%s QUERY" to be a useful thing for translators.

            regards, tom lane



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

Предыдущее
От: Zhihong Yu
Дата:
Сообщение: closing heap relation
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: closing heap relation