diff options
| author | Robert Haas <rhaas@postgresql.org> | 2019-12-17 14:06:25 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2019-12-17 14:06:25 -0500 |
| commit | 48995040d5e7b1e9bac35d72aff326cae002219d (patch) | |
| tree | b482fa9268960c8bf940472bba39bc9bc12ecedc /src/backend/optimizer/util/var.c | |
| parent | b1cc572f1274c946da42ed13ae4065e08b13262a (diff) | |
simplehash: Allow use of simplehash without MemoryContext.
If the SH_RAW_ALLOCATOR is defined, it will be used to allocate bytes
for the hash table, and no dependencies on MemoryContext will exist.
This means, in particular, that the SH_CREATE function will not take
a MemoryContext argument.
Patch by me, reviewed by Andres Freund.
Discussion: http://postgr.es/m/CA+Tgmob8oyh02NrZW=xCScB+5GyJ-jVowE3+TWTUmPF=FsGWTA@mail.gmail.com
Diffstat (limited to 'src/backend/optimizer/util/var.c')
0 files changed, 0 insertions, 0 deletions
