diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-04-04 00:45:02 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-04-04 00:45:02 +0000 |
commit | 1c855f01ea55d7c19099165dcb35003c8fc3364a (patch) | |
tree | a32eae84cb9dca847ae810794984658ea2eaff89 /src/backend/access/gist/gistutil.c | |
parent | 591f2944de633f201d97b7b17659569cd5b29d96 (diff) | |
download | postgresql-1c855f01ea55d7c19099165dcb35003c8fc3364a.tar.gz postgresql-1c855f01ea55d7c19099165dcb35003c8fc3364a.zip |
Disallow setting fillfactor for TOAST tables.
To implement this without almost duplicating the reloption table, treat
relopt_kind as a bitmask instead of an integer value. This decreases the
range of allowed values, but it's not clear that there's need for that much
values anyway.
This patch also makes heap_reloptions explicitly a no-op for relation kinds
other than heap and TOAST tables.
Patch by ITAGAKI Takahiro with minor edits from me. (In particular I removed
the bit about adding relation kind to an error message, which I intend to
commit separately.)
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions