mirror of
https://github.com/postgres/postgres.git
synced 2026-03-09 17:50:43 -04:00
Fix declaration of isarray variable.
Found and fixed by Andres Freund.
This commit is contained in:
parent
652ca927ca
commit
edebddbb84
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ struct ECPGtype_information_cache
|
|||
{
|
||||
struct ECPGtype_information_cache *next;
|
||||
int oid;
|
||||
bool isarray;
|
||||
enum ARRAY_TYPE isarray;
|
||||
};
|
||||
|
||||
/* structure to store one statement */
|
||||
|
|
|
|||
Loading…
Reference in a new issue