Skip to content

Commit a813931

Browse files
committed
Fix compatibility issues with PG-11
1 parent 56eb8d4 commit a813931

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: deparse.c

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#endif
4848
#include "parser/parsetree.h"
4949
#include "utils/builtins.h"
50+
#include "utils/hsearch.h"
5051
#include "utils/lsyscache.h"
5152
#include "utils/rel.h"
5253
#include "utils/syscache.h"

Diff for: vops.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3792,7 +3792,7 @@ is_select_from_vops_projection(Query* query, vops_var* var)
37923792
Oid typid = TupleDescAttr(rel->rd_att, attno-1)->atttypid;
37933793
if (is_vops_type(typid))
37943794
{
3795-
table_close(rel, NoLock);
3795+
heap_close(rel, NoLock);
37963796
var->varno = relno;
37973797
var->varattno = attno;
37983798
var->vartype = typid;

0 commit comments

Comments
 (0)