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

Andrew Dunstan <andrew@dunslane.net>

Commit: b85e91023bf3fd5b4dbd35dc3eddbf0dc291c8ad
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2023-03-15T21:20:42Z
Releases: 16.0
Don't try to read default for a non-existent attribute

Oversight in commit 9f8377f7a2 for COPY .. DEFAULT

per report from Alexander Lakhin

Files

PathChange+/−
src/backend/commands/copyfromparse.c modified +4 −2