Re: Add support for DEFAULT specification in COPY FROM - Mailing list pgsql-hackers

From Israel Barth Rubio
Subject Re: Add support for DEFAULT specification in COPY FROM
Date
Msg-id CAO_rXXAgfROxJAyZzD2kM9g7sRi4QGzTXo8f3maaGjmL5W=Bwg@mail.gmail.com
Whole thread Raw
In response to Re: Add support for DEFAULT specification in COPY FROM  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: Add support for DEFAULT specification in COPY FROM  (Israel Barth Rubio <barthisrael@gmail.com>)
List pgsql-hackers
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.
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: use has_privs_of_role() for pg_hba.conf
Next
From: Tom Lane
Date:
Subject: Re: Nicely exiting PG_TRY and PG_CATCH