mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Fixed bug in handling of pointers to structs.
This commit is contained in:
parent
935017457b
commit
90c1e2cc43
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user