git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 591f294) | patch
Disallow setting fillfactor for TOAST tables.
Sat, 4 Apr 2009 00:45:02 +0000 (00:45 +0000)
Sat, 4 Apr 2009 00:45:02 +0000 (00:45 +0000)
commit 1c855f01ea55d7c19099165dcb35003c8fc3364a
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.)
src/backend/access/common/reloptions.c diff | blob | blame | history
src/include/access/reloptions.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /