Re: expression evaluation with expected datatypes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: expression evaluation with expected datatypes
Date
Msg-id 21329.1341932210@sss.pgh.pa.us
Whole thread Raw
In response to Re: expression evaluation with expected datatypes  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: expression evaluation with expected datatypes  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2012/7/10 Dimitri Fontaine <dimitri@2ndquadrant.fr>:
>> I'm not sure I can understand the difference between that and the use
>> case for which you want to implement DO blocks with parameters.

> this is similar to temporary functions - you need some temporary name
> - it is insert to pg_proc, and you have to solve possible conflicts.

What's to solve?  Presumably the WITH function name would take
precedence over anything in the catalogs, the same as WITH query names
take precedence over actual tables.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: expression evaluation with expected datatypes
Next
From: Josh Kupershmidt
Date:
Subject: Re: [PATCH] psql \n shortcut for set search_path =