]> granicus.if.org Git - postgresql/commitdiff
Revert part of commit dddf4cdc3.
authorAmit Kapila <akapila@postgresql.org>
Fri, 25 Oct 2019 04:34:20 +0000 (10:04 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 25 Oct 2019 05:33:25 +0000 (11:03 +0530)
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

src/interfaces/ecpg/pgtypeslib/dt_common.c

index c22f6576740f011c657b12b167dc94069ce9b9d5..29c111754695025bd90c57e15b71ecf9b3510388 100644 (file)
@@ -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},