Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Is there a TODO here? The only problem I see is that it introduces the > > idea of special column-1 handling, which we don't have right now, except > > in COPY. > > I think the idea would be to execute what's effectively a COPY IN during > the CREATE FUNCTION command, and then use the data so collected as the > function body. It seems doable offhand, though we'd have to think about > whether this breaks any aspect of the FE/BE protocol, or whether it's > truly a user-friendly interface.
Wow, imagine libpq creating a function. Doesn't it just pass the entire string to the server? How would COPY IN handle that? -- 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 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly