Strange Prepare bug - Mailing list pgsql-hackers

From Rod Taylor
Subject Strange Prepare bug
Date
Msg-id 1043814876.76461.88.camel@jester
Whole thread Raw
Responses Re: Strange Prepare bug
List pgsql-hackers
I've trimmed this query down as much as possible (started out much
larger), it no longer causes the error.


PREPARE "pg_psql_dd2"(text,text) AS
SELECT true
FROM ( SELECT true FROM pg_catalog.pg_proc p,      pg_catalog.pg_name_pattern( $2 ) AS (schpat text, propat text) WHERE
p.prorettype<> 'pg_catalog.cstring'::pg_catalog.regtype 
) AS tt, (SELECT $1 AS cmd) AS cmd;

ERROR:  Parameter '$1' is out of range


--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG, threading and pooling
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] Cannot connect to the database (PG 7.3)