Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
84288a86
Commit
84288a86
authored
May 06, 2014
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
With ecpg exclusion removed, re-run pgindent for 9.4
Report by Tom Lane
parent
9516668e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
65 deletions
+65
-65
src/backend/utils/adt/jsonb_util.c
src/backend/utils/adt/jsonb_util.c
+4
-4
src/interfaces/ecpg/include/sqlda.h
src/interfaces/ecpg/include/sqlda.h
+5
-5
src/interfaces/ecpg/include/sqltypes.h
src/interfaces/ecpg/include/sqltypes.h
+18
-18
src/interfaces/ecpg/test/expected/compat_informix-describe.c
src/interfaces/ecpg/test/expected/compat_informix-describe.c
+5
-5
src/interfaces/ecpg/test/expected/compat_informix-sqlda.c
src/interfaces/ecpg/test/expected/compat_informix-sqlda.c
+23
-23
src/interfaces/ecpg/test/expected/sql-describe.c
src/interfaces/ecpg/test/expected/sql-describe.c
+5
-5
src/interfaces/ecpg/test/expected/sql-sqlda.c
src/interfaces/ecpg/test/expected/sql-sqlda.c
+5
-5
No files found.
src/backend/utils/adt/jsonb_util.c
View file @
84288a86
...
@@ -953,10 +953,10 @@ JsonbDeepContains(JsonbIterator **val, JsonbIterator **mContained)
...
@@ -953,10 +953,10 @@ JsonbDeepContains(JsonbIterator **val, JsonbIterator **mContained)
* arrays.
* arrays.
*
*
* A raw scalar may contain another raw scalar, and an array may
* 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.
* contain a raw scalar, but a raw scalar may not contain an array.
We
*
We don't do something like this for the object case, since objects
*
don't do something like this for the object case, since objects can
*
can only contain pairs, never raw scalars (a pair is represented by
*
only contain pairs, never raw scalars (a pair is represented by an
*
an
rhs object argument with a single contained pair).
* rhs object argument with a single contained pair).
*/
*/
if
(
vval
.
val
.
array
.
rawScalar
&&
!
vcontained
.
val
.
array
.
rawScalar
)
if
(
vval
.
val
.
array
.
rawScalar
&&
!
vcontained
.
val
.
array
.
rawScalar
)
return
false
;
return
false
;
...
...
src/interfaces/ecpg/include/sqlda.h
View file @
84288a86
...
@@ -4,15 +4,15 @@
...
@@ -4,15 +4,15 @@
#ifdef _ECPG_INFORMIX_H
#ifdef _ECPG_INFORMIX_H
#include "sqlda-compat.h"
#include "sqlda-compat.h"
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlda_compat
sqlda_t
;
typedef
struct
sqlda_compat
sqlda_t
;
#else
#else
#include "sqlda-native.h"
#include "sqlda-native.h"
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlda_struct
sqlda_t
;
typedef
struct
sqlda_struct
sqlda_t
;
#endif
#endif
#endif
/* ECPG_SQLDA_H */
#endif
/* ECPG_SQLDA_H */
src/interfaces/ecpg/include/sqltypes.h
View file @
84288a86
...
@@ -32,26 +32,26 @@
...
@@ -32,26 +32,26 @@
/*
/*
* Values used in sqlda->sqlvar[i]->sqltype
* Values used in sqlda->sqlvar[i]->sqltype
*/
*/
#define
SQLCHAR ECPGt_char
#define
SQLCHAR ECPGt_char
#define
SQLSMINT ECPGt_short
#define
SQLSMINT ECPGt_short
#define
SQLINT ECPGt_int
#define
SQLINT ECPGt_int
#define
SQLFLOAT ECPGt_double
#define
SQLFLOAT ECPGt_double
#define
SQLSMFLOAT ECPGt_float
#define
SQLSMFLOAT ECPGt_float
#define
SQLDECIMAL ECPGt_decimal
#define
SQLDECIMAL ECPGt_decimal
#define
SQLSERIAL ECPGt_int
#define
SQLSERIAL ECPGt_int
#define
SQLDATE ECPGt_date
#define
SQLDATE ECPGt_date
#define
SQLDTIME ECPGt_timestamp
#define
SQLDTIME ECPGt_timestamp
#define
SQLTEXT ECPGt_char
#define
SQLTEXT ECPGt_char
#define
SQLVCHAR ECPGt_char
#define
SQLVCHAR ECPGt_char
#define SQLINTERVAL
ECPGt_interval
#define SQLINTERVAL
ECPGt_interval
#define
SQLNCHAR ECPGt_char
#define
SQLNCHAR ECPGt_char
#define
SQLNVCHAR ECPGt_char
#define
SQLNVCHAR ECPGt_char
#ifdef HAVE_LONG_LONG_INT_64
#ifdef HAVE_LONG_LONG_INT_64
#define
SQLINT8 ECPGt_long_long
#define
SQLINT8 ECPGt_long_long
#define
SQLSERIAL8 ECPGt_long_long
#define
SQLSERIAL8 ECPGt_long_long
#else
#else
#define
SQLINT8 ECPGt_long
#define
SQLINT8 ECPGt_long
#define
SQLSERIAL8 ECPGt_long
#define
SQLSERIAL8 ECPGt_long
#endif
#endif
#endif
/* ndef ECPG_SQLTYPES_H */
#endif
/* ndef ECPG_SQLTYPES_H */
src/interfaces/ecpg/test/expected/compat_informix-describe.c
View file @
84288a86
...
@@ -30,18 +30,18 @@
...
@@ -30,18 +30,18 @@
#ifdef _ECPG_INFORMIX_H
#ifdef _ECPG_INFORMIX_H
#include "sqlda-compat.h"
#include "sqlda-compat.h"
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlda_compat
sqlda_t
;
typedef
struct
sqlda_compat
sqlda_t
;
#else
#else
#include "sqlda-native.h"
#include "sqlda-native.h"
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlda_struct
sqlda_t
;
typedef
struct
sqlda_struct
sqlda_t
;
#endif
#endif
#endif
/* ECPG_SQLDA_H */
#endif
/* ECPG_SQLDA_H */
#line 5 "describe.pgc"
#line 5 "describe.pgc"
...
...
src/interfaces/ecpg/test/expected/compat_informix-sqlda.c
View file @
84288a86
...
@@ -32,18 +32,18 @@
...
@@ -32,18 +32,18 @@
#ifdef _ECPG_INFORMIX_H
#ifdef _ECPG_INFORMIX_H
#include "sqlda-compat.h"
#include "sqlda-compat.h"
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlda_compat
sqlda_t
;
typedef
struct
sqlda_compat
sqlda_t
;
#else
#else
#include "sqlda-native.h"
#include "sqlda-native.h"
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlda_struct
sqlda_t
;
typedef
struct
sqlda_struct
sqlda_t
;
#endif
#endif
#endif
/* ECPG_SQLDA_H */
#endif
/* ECPG_SQLDA_H */
#line 7 "sqlda.pgc"
#line 7 "sqlda.pgc"
...
@@ -83,26 +83,26 @@ typedef struct sqlda_struct sqlda_t;
...
@@ -83,26 +83,26 @@ typedef struct sqlda_struct sqlda_t;
/*
/*
* Values used in sqlda->sqlvar[i]->sqltype
* Values used in sqlda->sqlvar[i]->sqltype
*/
*/
#define
SQLCHAR ECPGt_char
#define
SQLCHAR ECPGt_char
#define
SQLSMINT ECPGt_short
#define
SQLSMINT ECPGt_short
#define
SQLINT ECPGt_int
#define
SQLINT ECPGt_int
#define
SQLFLOAT ECPGt_double
#define
SQLFLOAT ECPGt_double
#define
SQLSMFLOAT ECPGt_float
#define
SQLSMFLOAT ECPGt_float
#define
SQLDECIMAL ECPGt_decimal
#define
SQLDECIMAL ECPGt_decimal
#define
SQLSERIAL ECPGt_int
#define
SQLSERIAL ECPGt_int
#define
SQLDATE ECPGt_date
#define
SQLDATE ECPGt_date
#define
SQLDTIME ECPGt_timestamp
#define
SQLDTIME ECPGt_timestamp
#define
SQLTEXT ECPGt_char
#define
SQLTEXT ECPGt_char
#define
SQLVCHAR ECPGt_char
#define
SQLVCHAR ECPGt_char
#define SQLINTERVAL
ECPGt_interval
#define SQLINTERVAL
ECPGt_interval
#define
SQLNCHAR ECPGt_char
#define
SQLNCHAR ECPGt_char
#define
SQLNVCHAR ECPGt_char
#define
SQLNVCHAR ECPGt_char
#ifdef HAVE_LONG_LONG_INT_64
#ifdef HAVE_LONG_LONG_INT_64
#define
SQLINT8 ECPGt_long_long
#define
SQLINT8 ECPGt_long_long
#define
SQLSERIAL8 ECPGt_long_long
#define
SQLSERIAL8 ECPGt_long_long
#else
#else
#define
SQLINT8 ECPGt_long
#define
SQLINT8 ECPGt_long
#define
SQLSERIAL8 ECPGt_long
#define
SQLSERIAL8 ECPGt_long
#endif
#endif
#endif
/* ndef ECPG_SQLTYPES_H */
#endif
/* ndef ECPG_SQLTYPES_H */
...
...
src/interfaces/ecpg/test/expected/sql-describe.c
View file @
84288a86
...
@@ -28,18 +28,18 @@
...
@@ -28,18 +28,18 @@
#ifdef _ECPG_INFORMIX_H
#ifdef _ECPG_INFORMIX_H
#include "sqlda-compat.h"
#include "sqlda-compat.h"
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlda_compat
sqlda_t
;
typedef
struct
sqlda_compat
sqlda_t
;
#else
#else
#include "sqlda-native.h"
#include "sqlda-native.h"
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlda_struct
sqlda_t
;
typedef
struct
sqlda_struct
sqlda_t
;
#endif
#endif
#endif
/* ECPG_SQLDA_H */
#endif
/* ECPG_SQLDA_H */
#line 5 "describe.pgc"
#line 5 "describe.pgc"
...
...
src/interfaces/ecpg/test/expected/sql-sqlda.c
View file @
84288a86
...
@@ -30,18 +30,18 @@
...
@@ -30,18 +30,18 @@
#ifdef _ECPG_INFORMIX_H
#ifdef _ECPG_INFORMIX_H
#include "sqlda-compat.h"
#include "sqlda-compat.h"
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlvar_compat
sqlvar_t
;
typedef
struct
sqlda_compat
sqlda_t
;
typedef
struct
sqlda_compat
sqlda_t
;
#else
#else
#include "sqlda-native.h"
#include "sqlda-native.h"
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlvar_struct
sqlvar_t
;
typedef
struct
sqlda_struct
sqlda_t
;
typedef
struct
sqlda_struct
sqlda_t
;
#endif
#endif
#endif
/* ECPG_SQLDA_H */
#endif
/* ECPG_SQLDA_H */
#line 7 "sqlda.pgc"
#line 7 "sqlda.pgc"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment