Re: Dollar Quoting doc patch--resend.
От
Bruce Momjian
Тема
Re: Dollar Quoting doc patch--resend.
Дата
Msg-id
200405051442.i45Egux22649@candle.pha.pa.us
Ответ на
Re: Dollar Quoting doc patch--resend. (Neil Conway)
Список
Дерево обсуждения
Dollar Quoting doc patch--resend. David Fetter <david@fetter.org>
Re: Dollar Quoting doc patch--resend. Neil Conway <neilc@samurai.com>
Re: Dollar Quoting doc patch--resend. Bruce Momjian <pgman@candle.pha.pa.us>
Re: Dollar Quoting doc patch--resend. David Fetter <david@fetter.org>
Re: Dollar Quoting doc patch--resend. Bruce Momjian <pgman@candle.pha.pa.us>
Re: Dollar Quoting doc patch--resend. Neil Conway <neilc@samurai.com>
Re: Dollar Quoting doc patch--resend. Andrew Dunstan <andrew@dunslane.net>
Re: Dollar Quoting doc patch--resend. Neil Conway <neilc@samurai.com>
Re: Dollar Quoting doc patch--resend. Bruce Momjian <pgman@candle.pha.pa.us>
Re: Dollar Quoting doc patch--resend. Neil Conway <neilc@samurai.com>
Re: Dollar Quoting doc patch--resend. Bruce Momjian <pgman@candle.pha.pa.us>
Re: Dollar Quoting doc patch--resend. David Fetter <david@fetter.org>
Re: Dollar Quoting doc patch--resend. Tom Lane <tgl@sss.pgh.pa.us>
Re: Dollar Quoting doc patch--resend. Bruce Momjian <pgman@candle.pha.pa.us>
Re: Dollar Quoting doc patch--resend. Peter Eisentraut <peter_e@gmx.net>
Neil Conway wrote: > On 5-May-04, at 2:26 AM, David Fetter wrote: > > Here it is :) > > Looks good for the most part. A few minor quibbles / suggestions: > > - Where an example uses double-quotes in a function body, we ought to > change the example to use dollar quoting -- but if no doubled-quotes > are used, I think it's better to just stick with single quotes. You've > needlessly converted a few function bodies to use dollar quotes in > violation of this principle -- please revert them I disagree. I think swiching between single quote and $$ based on the content is just too confusing. I would just use $$ in all cases unless $$ appears in the function (which should be rare), in which case I would use $quote$ or something generic. I am also not a fan of using $something$ that varies based on the type of function. -- 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, Pennsylvania 19073
В списке pgsql-patches по дате отправления
От: Tom Lane
Дата: