Re: libpq error message refactoring

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: libpq error message refactoring
Дата
Msg-id 20220923022727.mclhsv3cjbmdrrkd@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: libpq error message refactoring  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: libpq error message refactoring  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: libpq error message refactoring  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
HHi,

On 2022-09-22 22:00:00 -0400, Peter Eisentraut wrote:
> On 22.09.22 17:42, Andres Freund wrote:
> > This patch has been failing for a while:
> > https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/39/3854
> > 
> > Interestingly, previously the error only happened when targetting windows, but
> > meson also shows it on freebsd.
> > 
> > It's not the cause of this failure, I think, but doesn't appendPQExpBufferVA
> > need to be added to exports.txt?
> 
> I don't want to make that function available to users of libpq, just use it
> inside libpq across .c files.  Is there no visibility level for that?  Is
> that also the problem in the freebsd build?

I suspect the appendPQExpBufferVA is orthogonal - most (all?) of the other
functions in pqexpbuffer.h are visible, so it feels weird/confusing to not
make appendPQExpBufferVA() available. I just noticed it when trying to
understand the linker failure - which I still don't...

Greetings,

Andres Freund



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: libpq error message refactoring
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq error message refactoring