Re: Add support for DEFAULT specification in COPY FROM
Israel Barth Rubio <barthisrael@gmail.com>
From: Israel Barth Rubio <barthisrael@gmail.com>
To: Zhihong Yu <zyu@yugabyte.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@lists.postgresql.org
Date: 2022-10-07T20:54:46Z
Lists: pgsql-hackers
Attachments
- v5-0001-Added-support-for-DEFAULT-in-COPY-FROM.patch (application/octet-stream) patch v5-0001
Hello Zhihong, > For the last question, please take a look at: > > #define MemSetAligned(start, val, len) \ > > which is called by palloc0(). Oh, I totally missed that. Thanks for the heads up! I'm attaching the new patch version, which contains both the fix to the problem reported by Andres, and removes this useless MemSet call. Best regards, Israel.
Commits
-
Add a DEFAULT option to COPY FROM
- 9f8377f7a279 16.0 landed