mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Fix pg9.6 compatiblity, thanks to Rob Stolarz for the report.
It was broken since 9c651cf4, where I blindly updated the code without
reading upstream coommit 65c5fcd353a.
This commit is contained in:
parent
79220f2c71
commit
191340ebb4
1 changed files with 2 additions and 2 deletions
4
hypopg.c
4
hypopg.c
|
|
@ -329,8 +329,8 @@ hypo_newEntry(Oid relid, char *accessMethod, int ncolumns, List *options)
|
|||
entry->amoptionalkey = amroutine->amoptionalkey;
|
||||
entry->amsearcharray = amroutine->amsearcharray;
|
||||
entry->amsearchnulls = amroutine->amsearchnulls;
|
||||
entry->amhasgettuple = OidIsValid(amroutine->amgettuple);
|
||||
entry->amhasgetbitmap = OidIsValid(amroutine->amgetbitmap);
|
||||
entry->amhasgettuple = (amroutine->amgettuple != NULL);
|
||||
entry->amhasgetbitmap = (amroutine->amgetbitmap != NULL);
|
||||
entry->amcanunique = amroutine->amcanunique;
|
||||
entry->amcanmulticol = amroutine->amcanmulticol;
|
||||
amoptions = amroutine->amoptions;
|
||||
|
|
|
|||
Loading…
Reference in a new issue