Re: appendStringInfoString() micro-opt

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: appendStringInfoString() micro-opt
Дата
Msg-id 87wu7f8utz.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: appendStringInfoString() micro-opt  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: appendStringInfoString() micro-opt  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Tom Lane <tgl@sss.pgh.pa.us> writes:
> I'm not objecting to your doing it, exactly, just suggesting that
> there are better things to spend your time on.

Heh, probably true :-)

I'll put this on the back-burner for now, and repost a complete patch
later if I get around to it.

> This I would object to, since it creates a risk of failure if anyone
> is incautious enough to write a non-constant argument to
> appendStringInfoString.

Agreed.

(Semi-OT note: allowing the user to extend the compiler to enforce
rules like this is a cool idea: http://metacomp.stanford.edu/)

-Neil


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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: next draft of list rewrite
Следующее
От: Bill Moran
Дата:
Сообщение: [update] Re: Patch to bring \copy syntax more in line with SQL copy