pgsql: Don't try to read default for a non-existent attribute

Started by Andrew Dunstanover 3 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

Don't try to read default for a non-existent attribute

Oversight in commit 9f8377f7a2 for COPY .. DEFAULT

per report from Alexander Lakhin

Branch
------
master

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

Modified Files
--------------
src/backend/commands/copyfromparse.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)