Re: postgres.h included from relcache.h - but removing it breaks pg_upgrade - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: postgres.h included from relcache.h - but removing it breaks pg_upgrade
Date
Msg-id CAPpHfdvsejSqxR+e_QvKJcsUMq3PNcUFOnD_sH7J0a0RLoq0Sg@mail.gmail.com
Whole thread Raw
In response to Re: postgres.h included from relcache.h - but removing it breaks pg_upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Sep 14, 2021 at 5:40 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andres Freund <andres@anarazel.de> writes:
> > I noticed that postgres.h is included from relcache.h (starting in [1]) and
> > wanted to fix that - it violates our usual policy against including postgres.h
> > from within headers.
>
> Ugh, yeah, that's entirely against policy.

I see. This is my oversight, sorry for that.

------
Regards,
Alexander Korotkov



pgsql-hackers by date:

Previous
From: Cameron Murdoch
Date:
Subject: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert
Next
From: Daniel Frey
Date:
Subject: Access last_sqlstate from libpq