Re: massive quotes?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: massive quotes?
Дата
Msg-id 200308301658.h7UGw5714918@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: massive quotes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: massive quotes?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> 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 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
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dennis Björklund
Дата:
Сообщение: Re: ALTER TABLE ... TO ... to change related names
Следующее
От: Jonathan Gardner
Дата:
Сообщение: Re: ALTER TABLE ... TO ... to change related names