Re: Fixup some appendStringInfo and appendPQExpBuffer calls

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Fixup some appendStringInfo and appendPQExpBuffer calls
Дата
Msg-id CAApHDvrxNTJw7VfAvf0vFkLPQApr1yWX0Rxw6GMKo=o=5MLZHw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fixup some appendStringInfo and appendPQExpBuffer calls  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fixup some appendStringInfo and appendPQExpBuffer calls  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 3 Jun 2021 at 16:17, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> David Rowley <dgrowleyml@gmail.com> writes:
> > There are quite a few other places in that file that should be using
> > DatumGetCString() instead of DatumGetPointer().
> > Should we fix those too for PG14?
>
> +1.  I'm surprised we are not getting compiler warnings.

I pushed a fix for this.

I did happen to find one other in mcv.c which dates back to 2019. I
was wondering if we should bother with that one since it's already out
there in PG13.

David

Вложения

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Asynchronous Append on postgres_fdw nodes.
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Transactions involving multiple postgres foreign servers, take 2