Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I am thinking your patch is a good idea because it will give us a
> non-Win32 platform that has the _check_ behavior. We do have to bump
> the major for ecpg libs for this, but not libpq.
No, because if 8.2 ships with a libpq.so.4 that doesn't expose
pqGetpwuid, it will look like pre-8.2 versions of libecpg will work
with that libpq. Which they won't. You can't remove exported
functions (whether the export was intentional or no) without a
major version bump.
regards, tom lane