pgsql: Do not build psql's flex module on its own, but instead include

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Do not build psql's flex module on its own, but instead include
Date: 2009-11-10 23:12:21
Message-ID: 20091110231221.978D3753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Do not build psql's flex module on its own, but instead include it in
mainloop.c. This ensures that postgres_fe.h is read before including
any system headers, which is necessary to avoid problems on some platforms
where we make nondefault selections of feature macros for stdio.h or
other headers. We have had this policy for flex modules in the backend
for many years, but for some reason it was not applied to psql.
Per trouble report from Alexandra Roy and diagnosis by Albe Laurenz.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
pgsql/src/bin/psql:
Makefile (r1.63 -> r1.63.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/Makefile?r1=1.63&r2=1.63.2.1)
mainloop.c (r1.95 -> r1.95.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/mainloop.c?r1=1.95&r2=1.95.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-11-10 23:12:29 pgsql: Do not build psql's flex module on its own, but instead include
Previous Message Tom Lane 2009-11-10 23:12:13 pgsql: Do not build psql's flex module on its own, but instead include