aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/tutorial/func.py
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-07-29 17:21:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-07-29 17:21:27 +0000
commit5e3c09a11466acbe53a9bf75322a94c859d6c2f8 (patch)
treea8ba855335a90484be24537cd153d9205d15daca /src/interfaces/python/tutorial/func.py
parentf353f8e83bb447039b437cbaa3895d215da34f82 (diff)
downloadpostgresql-5e3c09a11466acbe53a9bf75322a94c859d6c2f8.tar.gz
postgresql-5e3c09a11466acbe53a9bf75322a94c859d6c2f8.zip
Coerce unknown-literal-constant default values to the column type during
CREATE TABLE (or ALTER TABLE SET DEFAULT), rather than postponing it to the time that the default is inserted into an INSERT command by the rewriter. This reverses an old decision that was intended to make the world safe for writing f1 timestamp default 'now' but in fact merely made the failure modes subtle rather than obvious. Per recent trouble report and followup discussion. initdb forced since there is a chance that stored default expressions will change.
Diffstat (limited to 'src/interfaces/python/tutorial/func.py')
0 files changed, 0 insertions, 0 deletions