]> granicus.if.org Git - postgresql/commitdiff
With ecpg exclusion removed, re-run pgindent for 9.4
authorBruce Momjian <bruce@momjian.us>
Wed, 7 May 2014 00:39:28 +0000 (20:39 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 7 May 2014 00:39:28 +0000 (20:39 -0400)
Report by Tom Lane

src/backend/utils/adt/jsonb_util.c
src/interfaces/ecpg/include/sqlda.h
src/interfaces/ecpg/include/sqltypes.h
src/interfaces/ecpg/test/expected/compat_informix-describe.c
src/interfaces/ecpg/test/expected/compat_informix-sqlda.c
src/interfaces/ecpg/test/expected/sql-describe.c
src/interfaces/ecpg/test/expected/sql-sqlda.c

index 1caaa4a9cc325c093d61ae2121a61b796cdf778e..a9bf0d3a7d1aee87d79df09fda9327586cdfb208 100644 (file)
@@ -953,10 +953,10 @@ JsonbDeepContains(JsonbIterator **val, JsonbIterator **mContained)
                 * arrays.
                 *
                 * A raw scalar may contain another raw scalar, and an array may
-                * contain a raw scalar, but a raw scalar may not contain an array.
-                * We don't do something like this for the object case, since objects
-                * can only contain pairs, never raw scalars (a pair is represented by
-                * an rhs object argument with a single contained pair).
+                * contain a raw scalar, but a raw scalar may not contain an array. We
+                * don't do something like this for the object case, since objects can
+                * only contain pairs, never raw scalars (a pair is represented by an
+                * rhs object argument with a single contained pair).
                 */
                if (vval.val.array.rawScalar && !vcontained.val.array.rawScalar)
                        return false;
index b1b4debf905721a6fb794baa5b3ff0f57aa8e800..c265beb66cc5a10bce55ad755a017a8c8356199d 100644 (file)
@@ -4,15 +4,15 @@
 #ifdef _ECPG_INFORMIX_H
 
 #include "sqlda-compat.h"
-typedef struct sqlvar_compat   sqlvar_t;
-typedef struct sqlda_compat    sqlda_t;
+typedef struct sqlvar_compat sqlvar_t;
+typedef struct sqlda_compat sqlda_t;
 
 #else
 
 #include "sqlda-native.h"
-typedef struct sqlvar_struct   sqlvar_t;
-typedef struct sqlda_struct    sqlda_t;
+typedef struct sqlvar_struct sqlvar_t;
+typedef struct sqlda_struct sqlda_t;
 
 #endif
 
-#endif /* ECPG_SQLDA_H */
+#endif   /* ECPG_SQLDA_H */
index 0c01867d02fcf2a1f7ce045c3c4b0f7a0170ac2a..797cb5b1be4f6514841a334fce9027f77250df95 100644 (file)
 /*
  * Values used in sqlda->sqlvar[i]->sqltype
  */
-#define        SQLCHAR         ECPGt_char
-#define        SQLSMINT        ECPGt_short
-#define        SQLINT          ECPGt_int
-#define        SQLFLOAT        ECPGt_double
-#define        SQLSMFLOAT      ECPGt_float
-#define        SQLDECIMAL      ECPGt_decimal
-#define        SQLSERIAL       ECPGt_int
-#define        SQLDATE         ECPGt_date
-#define        SQLDTIME        ECPGt_timestamp
-#define        SQLTEXT         ECPGt_char
-#define        SQLVCHAR        ECPGt_char
-#define SQLINTERVAL     ECPGt_interval
-#define        SQLNCHAR        ECPGt_char
-#define        SQLNVCHAR       ECPGt_char
+#define SQLCHAR                ECPGt_char
+#define SQLSMINT       ECPGt_short
+#define SQLINT         ECPGt_int
+#define SQLFLOAT       ECPGt_double
+#define SQLSMFLOAT     ECPGt_float
+#define SQLDECIMAL     ECPGt_decimal
+#define SQLSERIAL      ECPGt_int
+#define SQLDATE                ECPGt_date
+#define SQLDTIME       ECPGt_timestamp
+#define SQLTEXT                ECPGt_char
+#define SQLVCHAR       ECPGt_char
+#define SQLINTERVAL            ECPGt_interval
+#define SQLNCHAR       ECPGt_char
+#define SQLNVCHAR      ECPGt_char
 #ifdef HAVE_LONG_LONG_INT_64
-#define        SQLINT8         ECPGt_long_long
-#define        SQLSERIAL8      ECPGt_long_long
+#define SQLINT8                ECPGt_long_long
+#define SQLSERIAL8     ECPGt_long_long
 #else
-#define        SQLINT8         ECPGt_long
-#define        SQLSERIAL8      ECPGt_long
+#define SQLINT8                ECPGt_long
+#define SQLSERIAL8     ECPGt_long
 #endif
 
 #endif   /* ndef ECPG_SQLTYPES_H */
index 59002fbde68272a5d9010f7af85094bd21c7d9aa..5951ae6c82db69643ccef101ff045c9f437b848a 100644 (file)
 #ifdef _ECPG_INFORMIX_H
 
 #include "sqlda-compat.h"
-typedef struct sqlvar_compat   sqlvar_t;
-typedef struct sqlda_compat    sqlda_t;
+typedef struct sqlvar_compat sqlvar_t;
+typedef struct sqlda_compat sqlda_t;
 
 #else
 
 #include "sqlda-native.h"
-typedef struct sqlvar_struct   sqlvar_t;
-typedef struct sqlda_struct    sqlda_t;
+typedef struct sqlvar_struct sqlvar_t;
+typedef struct sqlda_struct sqlda_t;
 
 #endif
 
-#endif /* ECPG_SQLDA_H */
+#endif   /* ECPG_SQLDA_H */
 
 #line 5 "describe.pgc"
 
index a013be99aa24bc24ec9163fa0167ef7bc6e07a57..6cfca270180a93389c14c4367deb7afbd62f2815 100644 (file)
 #ifdef _ECPG_INFORMIX_H
 
 #include "sqlda-compat.h"
-typedef struct sqlvar_compat   sqlvar_t;
-typedef struct sqlda_compat    sqlda_t;
+typedef struct sqlvar_compat sqlvar_t;
+typedef struct sqlda_compat sqlda_t;
 
 #else
 
 #include "sqlda-native.h"
-typedef struct sqlvar_struct   sqlvar_t;
-typedef struct sqlda_struct    sqlda_t;
+typedef struct sqlvar_struct sqlvar_t;
+typedef struct sqlda_struct sqlda_t;
 
 #endif
 
-#endif /* ECPG_SQLDA_H */
+#endif   /* ECPG_SQLDA_H */
 
 #line 7 "sqlda.pgc"
 
@@ -83,26 +83,26 @@ typedef struct sqlda_struct sqlda_t;
 /*
  * Values used in sqlda->sqlvar[i]->sqltype
  */
-#define        SQLCHAR         ECPGt_char
-#define        SQLSMINT        ECPGt_short
-#define        SQLINT          ECPGt_int
-#define        SQLFLOAT        ECPGt_double
-#define        SQLSMFLOAT      ECPGt_float
-#define        SQLDECIMAL      ECPGt_decimal
-#define        SQLSERIAL       ECPGt_int
-#define        SQLDATE         ECPGt_date
-#define        SQLDTIME        ECPGt_timestamp
-#define        SQLTEXT         ECPGt_char
-#define        SQLVCHAR        ECPGt_char
-#define SQLINTERVAL     ECPGt_interval
-#define        SQLNCHAR        ECPGt_char
-#define        SQLNVCHAR       ECPGt_char
+#define SQLCHAR                ECPGt_char
+#define SQLSMINT       ECPGt_short
+#define SQLINT         ECPGt_int
+#define SQLFLOAT       ECPGt_double
+#define SQLSMFLOAT     ECPGt_float
+#define SQLDECIMAL     ECPGt_decimal
+#define SQLSERIAL      ECPGt_int
+#define SQLDATE                ECPGt_date
+#define SQLDTIME       ECPGt_timestamp
+#define SQLTEXT                ECPGt_char
+#define SQLVCHAR       ECPGt_char
+#define SQLINTERVAL            ECPGt_interval
+#define SQLNCHAR       ECPGt_char
+#define SQLNVCHAR      ECPGt_char
 #ifdef HAVE_LONG_LONG_INT_64
-#define        SQLINT8         ECPGt_long_long
-#define        SQLSERIAL8      ECPGt_long_long
+#define SQLINT8                ECPGt_long_long
+#define SQLSERIAL8     ECPGt_long_long
 #else
-#define        SQLINT8         ECPGt_long
-#define        SQLSERIAL8      ECPGt_long
+#define SQLINT8                ECPGt_long
+#define SQLSERIAL8     ECPGt_long
 #endif
 
 #endif   /* ndef ECPG_SQLTYPES_H */
index 11aadb4e053d2083534e60531000a503cf8a82f6..356f5870e8cbd4224b12f91b525207260ae17f98 100644 (file)
 #ifdef _ECPG_INFORMIX_H
 
 #include "sqlda-compat.h"
-typedef struct sqlvar_compat   sqlvar_t;
-typedef struct sqlda_compat    sqlda_t;
+typedef struct sqlvar_compat sqlvar_t;
+typedef struct sqlda_compat sqlda_t;
 
 #else
 
 #include "sqlda-native.h"
-typedef struct sqlvar_struct   sqlvar_t;
-typedef struct sqlda_struct    sqlda_t;
+typedef struct sqlvar_struct sqlvar_t;
+typedef struct sqlda_struct sqlda_t;
 
 #endif
 
-#endif /* ECPG_SQLDA_H */
+#endif   /* ECPG_SQLDA_H */
 
 #line 5 "describe.pgc"
 
index e0c35b2ebc01dc81d35f513e55863583f3e94a4c..bc9125ab3cc006481620adc6a32f840285702025 100644 (file)
 #ifdef _ECPG_INFORMIX_H
 
 #include "sqlda-compat.h"
-typedef struct sqlvar_compat   sqlvar_t;
-typedef struct sqlda_compat    sqlda_t;
+typedef struct sqlvar_compat sqlvar_t;
+typedef struct sqlda_compat sqlda_t;
 
 #else
 
 #include "sqlda-native.h"
-typedef struct sqlvar_struct   sqlvar_t;
-typedef struct sqlda_struct    sqlda_t;
+typedef struct sqlvar_struct sqlvar_t;
+typedef struct sqlda_struct sqlda_t;
 
 #endif
 
-#endif /* ECPG_SQLDA_H */
+#endif   /* ECPG_SQLDA_H */
 
 #line 7 "sqlda.pgc"