Revert "Enable fast default for domains with non-volatile constraints"

This reverts commit a0b6ef29a51818a4073a5f390ed10ef6453d5c11, along with
its follow-up 2e123e3c2bd34f2377212a4e7cfcdbf9e2d9c7ff ("Silence compiler
warning from older compilers"), which only adjusted code introduced by
the former.

The change failed with an empty table and an invalid default, and the
best way to deal with that will involve an addition to the TAM API, so
it's not ready for relese 19 now.

Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a0354e29c41a9fb7491b3c7c23f079b1923c045a

Modified Files
--------------
src/backend/commands/tablecmds.c           | 59 +++++++++--------------------
src/backend/executor/execExpr.c            | 35 +----------------
src/include/executor/executor.h            |  2 -
src/test/regress/expected/fast_default.out | 61 ------------------------------
src/test/regress/sql/fast_default.sql      | 51 -------------------------
5 files changed, 18 insertions(+), 190 deletions(-)

Reply via email to