Re: Controlling changes in plpgsql variable resolution

Поиск
Список
Период
Сортировка
Искать
От
David E. Wheeler
Тема
Re: Controlling changes in plpgsql variable resolution
Дата
Msg-id
B8F81D63-BBE6-4D7A-8256-E248E842AFF7@kineticode.com
Ответ на
Список
Дерево обсуждения
Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Simon Riggs <simon@2ndQuadrant.com>
Re: Controlling changes in plpgsql variable resolution Stephen Frost <sfrost@snowman.net>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution Stephen Frost <sfrost@snowman.net>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Controlling changes in plpgsql variable resolution Pavel Stehule <pavel.stehule@gmail.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Controlling changes in plpgsql variable resolution Andrew Dunstan <andrew@dunslane.net>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Bruce Momjian <bruce@momjian.us>
Re: Controlling changes in plpgsql variable resolution Bruce Momjian <bruce@momjian.us>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Peter Eisentraut <peter_e@gmx.net>
Re: Controlling changes in plpgsql variable resolution Merlin Moncure <mmoncure@gmail.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Pavel Stehule <pavel.stehule@gmail.com>
Re: Controlling changes in plpgsql variable resolution Bruce Momjian <bruce@momjian.us>
Re: Controlling changes in plpgsql variable resolution Pavel Stehule <pavel.stehule@gmail.com>
Re: Controlling changes in plpgsql variable resolution "Eric B. Ridge" <ebr@tcdi.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution "Eric B. Ridge" <ebr@tcdi.com>
Re: Controlling changes in plpgsql variable resolution Josh Berkus <josh@agliodbs.com>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution Josh Berkus <josh@agliodbs.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Pavel Stehule <pavel.stehule@gmail.com>
Re: Controlling changes in plpgsql variable resolution Bruce Momjian <bruce@momjian.us>
Re: Controlling changes in plpgsql variable resolution Josh Berkus <josh@agliodbs.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Josh Berkus <josh@agliodbs.com>
Re: Controlling changes in plpgsql variable resolution Merlin Moncure <mmoncure@gmail.com>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution Dimitri Fontaine <dfontaine@hi-media.com>
Re: Controlling changes in plpgsql variable resolution Pavel Stehule <pavel.stehule@gmail.com>
Re: Controlling changes in plpgsql variable resolution Andrew Dunstan <andrew@dunslane.net>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution Dimitri Fontaine <dfontaine@hi-media.com>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution "David E. Wheeler" <david@kineticode.com>
Could postgres be much cleaner if a future release skipped backward compatibility? Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Peter Eisentraut <peter_e@gmx.net>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Tom Lane <tgl@sss.pgh.pa.us>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Aidan Van Dyk <aidan@highrise.ca>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? James Mansion <james@mansionfamily.plus.com>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? "Marc G. Fournier" <scrappy@hub.org>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Tom Lane <tgl@sss.pgh.pa.us>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? "Greg Sabino Mullane" <greg@turnstep.com>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Tom Lane <tgl@sss.pgh.pa.us>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Robert Haas <robertmhaas@gmail.com>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Andrew Dunstan <andrew@dunslane.net>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? David Fetter <david@fetter.org>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Tom Lane <tgl@sss.pgh.pa.us>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Robert Haas <robertmhaas@gmail.com>
Re: Could postgres be much cleaner if a future release skipped backward compatibility? Dimitri Fontaine <dfontaine@hi-media.com>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Merlin Moncure <mmoncure@gmail.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
Re: Controlling changes in plpgsql variable resolution Tom Lane <tgl@sss.pgh.pa.us>
Re: Controlling changes in plpgsql variable resolution Robert Haas <robertmhaas@gmail.com>
On Oct 19, 2009, at 8:36 AM, Robert Haas wrote:

> I think warnings are too easy to miss, but I agree your other
> suggestion.  I know you can write function_name.variable_name, but
> that's often massively long-winded.  We either need a short, fixed
> prefix, or some kind of sigil.  I previously suggested ? to parallel
> ECPG, but Tom didn't like it.  I still do.  :-)

I suppose that $ would interfere with dollar quoting. What about @ or  
@@ (sorry, I did mess with MSSQL back in the 90s).

Hrm…PostgreSQL is starting to have the same problem as Perl: running  
out of characters because they're used for operators. :var would be  
perfect, if it wasn't for psql. ?var is okay, I guess, if a bit… 
questionable. Are {braces} used for anything?

Best,

David
В списке pgsql-hackers по дате отправления
От: David E. Wheeler
Дата:
От: Stephen Frost
Дата:
FAQ