Re: [HACKERS] COPY statement cannot take binding parameters

2008-09-02 Thread Tom Lane
"Stephen R. van den Berg" <[EMAIL PROTECTED]> writes: > Trying to parse and bind the following: >COPY (SELECT $1::INT) TO STDOUT > gives a correct parsing-done, but then in the parameterdescription tells > me that there are no parameters. > Is this intended? It's an artifact of the klugy way

[HACKERS] COPY statement cannot take binding parameters

2008-09-02 Thread Stephen R. van den Berg
Trying to parse and bind the following: COPY (SELECT $1::INT) TO STDOUT gives a correct parsing-done, but then in the parameterdescription tells me that there are no parameters. Is this intended? Is this a limitation of the COPY statement that will not change? In that case, might I suggest th