mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix declaration of isarray variable.
Found and fixed by Andres Freund.
This commit is contained in:
parent
fcbf455842
commit
c396f2b83d
@ -146,7 +146,7 @@ next_insert(char *text, int pos, bool questionmarks)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
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 *new_entry
|
||||||
= (struct ECPGtype_information_cache *) ecpg_alloc(sizeof(struct ECPGtype_information_cache), lineno);
|
= (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;
|
struct ECPGtype_information_cache *next;
|
||||||
int oid;
|
int oid;
|
||||||
bool isarray;
|
enum ARRAY_TYPE isarray;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* structure to store one statement */
|
/* structure to store one statement */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user