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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't try to read default for a non-existent attribute
Date: 2023-03-15 21:21:06
Message-ID: E1pcYYU-003iYE-4d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2023-03-15 22:32:32 pgsql: MSVC: Don't build ldap_password_func if not building with ldap
Previous Message Tom Lane 2023-03-15 20:59:19 pgsql: Support [NO] INDENT option in XMLSERIALIZE().