aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSort.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2023-10-01 10:18:41 -0400
committerAndrew Dunstan <andrew@dunslane.net>2023-10-01 10:25:33 -0400
commit910eb61b2bbdb729c242ed20d5f6e0a392eb62da (patch)
tree9af6f16220418332c163499bc13ba3b7d3a34ca2 /src/backend/executor/nodeSort.c
parentd5c5312dc8b66b4ad652ec54ed32029d621e1e93 (diff)
downloadpostgresql-910eb61b2bbdb729c242ed20d5f6e0a392eb62da.tar.gz
postgresql-910eb61b2bbdb729c242ed20d5f6e0a392eb62da.zip
Only evaluate default values as required when doing COPY FROM
Commit 9f8377f7a2 was a little too eager in fetching default values. Normally this would not matter, but if the default value is not valid for the type (e.g. a varchar that's too long) it caused an unnecessary error. Complaint and fix from Laurenz Albe Backpatch to release 16. Discussion: https://postgr.es/m/75a7b7483aeb331aa017328d606d568fc715b90d.camel@cybertec.at
Diffstat (limited to 'src/backend/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions