aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2015-08-13 13:22:29 +0200
committerMichael Meskes <meskes@postgresql.org>2015-08-13 13:23:58 +0200
commitc396f2b83dbf2af9a6b3fa137f73017f5dcf7266 (patch)
tree11b84eb81c7459d77addb394b8ef1962895d2a2d /src/interfaces/ecpg/ecpglib/execute.c
parentfcbf455842eac10c331a866f559bb3875bcb8c37 (diff)
downloadpostgresql-c396f2b83dbf2af9a6b3fa137f73017f5dcf7266.tar.gz
postgresql-c396f2b83dbf2af9a6b3fa137f73017f5dcf7266.zip
Fix declaration of isarray variable.
Found and fixed by Andres Freund.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 9a56a5cd4ac..9e40f4161a5 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -146,7 +146,7 @@ next_insert(char *text, int pos, bool questionmarks)
}
static bool
-ecpg_type_infocache_push(struct ECPGtype_information_cache ** cache, int oid, bool isarray, int lineno)
+ecpg_type_infocache_push(struct ECPGtype_information_cache ** cache, int oid, enum ARRAY_TYPE isarray, int lineno)
{
struct ECPGtype_information_cache *new_entry
= (struct ECPGtype_information_cache *) ecpg_alloc(sizeof(struct ECPGtype_information_cache), lineno);