aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-10-25 10:04:20 +0530
committerAmit Kapila <akapila@postgresql.org>2019-10-25 11:03:25 +0530
commitc114229ca2519620703a4be4e38181290cad8c0a (patch)
tree5c7f671965c2c19df73f4e91526784ca7d217218 /src
parentdddf4cdc3300073ec04b2c3e482a4c1fa4b8191b (diff)
downloadpostgresql-c114229ca2519620703a4be4e38181290cad8c0a.tar.gz
postgresql-c114229ca2519620703a4be4e38181290cad8c0a.zip
Revert part of commit dddf4cdc3.
The commit dddf4cdc3 tries to ensure that the Postgres header file inclusions are in order based on their ASCII value. However, in one of the case there is a header file dependency due to which we can't maintain such order. Author: Amit Kapila Discussion: https://postgr.es/m/E1iNpHW-000855-1u@gemulon.postgresql.org
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/dt_common.c b/src/interfaces/ecpg/pgtypeslib/dt_common.c
index c22f6576740..29c11175469 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt_common.c
+++ b/src/interfaces/ecpg/pgtypeslib/dt_common.c
@@ -7,9 +7,9 @@
#include <math.h>
#include "common/string.h"
+#include "pgtypeslib_extern.h"
#include "dt.h"
#include "pgtypes_timestamp.h"
-#include "pgtypeslib_extern.h"
const int day_tab[2][13] = {
{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0},