Re: libpq debug log

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: libpq debug log
Дата
Msg-id CA+TgmobUsHBrNPN7-_9PHnH0bveKs=A39DiiTxp9kcwva4ig9g@mail.gmail.com
обсуждение исходный текст
Ответ на libpq debug log  ("Iwata, Aya" <iwata.aya@jp.fujitsu.com>)
Ответы Re: libpq debug log  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
On Sat, Jun 5, 2021 at 11:03 AM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> > This added a PQtraceSetFlags() function.  We have a dozen PQset*() functions,
> > but this and PQresultSetInstanceData() are the only PQSomethingSet()
> > functions.  Is it okay if I rename it to PQsetTraceFlags()?  I think that
> > would be more idiomatic for libpq.
>
> Hmm, there is an obvious parallel between PQtrace() and
> PQtraceSetFlags() which is lost with your proposed rename.  I'm not
> wedded to the name though, so I'm just -0.1 on the rename.  If you feel
> strongly about it, I won't oppose it.

I'm +1 for the rename. I think it's a lot more idiomatic.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SSL SNI
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: SQL-standard function body