mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Fixed bug in handling of pointers to structs.
This commit is contained in:
@ -78,7 +78,7 @@ find_struct(char *name, char *next)
|
||||
|
||||
if (c == '-')
|
||||
{
|
||||
if (p->type->typ != ECPGt_struct && p->type->typ != ECPGt_union)
|
||||
if (p->type->typ != ECPGt_array)
|
||||
{
|
||||
sprintf(errortext, "variable %s is not a pointer", name);
|
||||
mmerror(ET_FATAL, errortext);
|
||||
|
Reference in New Issue
Block a user