Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > OK, patch attached. Tom, what is the proper third parameter in COPY,
> > COERCE_DONTCARE?
>
> It would be COERCE_IMPLICIT_CAST. But I don't like the patch as it
> stands anyway, because it is repeating a ton of catalog lookups for
> every input row. I have more extensive changes in mind ...
OK, I changed it to COERCE_IMPLICIT_CAST. The patch did fix a COPY
failure for NULL's and DOMAIN so I didn't remove the patch. Feel free
to wack it around.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073