Re: [HACKERS] COPY vs. INSERT

2001-06-21 Thread Tom Lane
[EMAIL PROTECTED] (D'Arcy J.M. Cain) writes: >> Obviously it isn't. Care to show us the code? > Sure. ftp://ftp.vex.net/pub/glaccount. PG_FUNCTION_INFO_V1(glaccount_cmp); Datum glaccount_cmp(PG_FUNCTION_ARGS) { glaccount *a1 = (glaccount *) PG_GETARG_POINTER(0); glaccount *a2

Re: [HACKERS] COPY vs. INSERT

2001-06-21 Thread Tom Lane
[EMAIL PROTECTED] (D'Arcy J.M. Cain) writes: > I followed the instructions on interfacing user defined types as per > http://www.ca.postgresql.org/devel-corner/docs/programmer/xindex.html. > In fact I helped write that page so I am pretty sure I got it right. > This code worked fine before. The o