pgsql: Fix failure-to-compile-standalone in ecpg's dt.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix failure-to-compile-standalone in ecpg's dt.h.
Date: 2019-08-18 21:51:40
Message-ID: E1hzT5Q-0001zd-NG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix failure-to-compile-standalone in ecpg's dt.h.

This has to have <time.h>, or the references to "struct tm" don't
mean what they should.

We have some other recently-introduced issues of the same ilk,
but this one seems old. No backpatch though, as it's only a
latent problem for most purposes.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5c66e99178c2f72042034cceb6bc4902650a2608

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/dt.h | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-08-18 22:01:04 pgsql: Fix failure-to-compile-standalone in scripts_parallel.h.
Previous Message Tom Lane 2019-08-18 21:12:17 pgsql: Disallow changing an inherited column's type if not all parents