Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster