BUG #15927: PGresult *PQexecParams(..) not work on view - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15927: PGresult *PQexecParams(..) not work on view
Date
Msg-id 15927-5021504e29027e8d@postgresql.org
Whole thread Raw
Responses Re: BUG #15927: PGresult *PQexecParams(..) not work on view  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15927
Logged by:          Vladimir Dobrokhotov
Email address:      pm_fon@mail.ru
PostgreSQL version: 10.1
Operating system:   freebsd 11.1
Description:

create temp table ttt(a text)
...
select * from ttt where a= $1
create temp view vvv as select * from ttt where a= $1
>ERROR: bind message supplies 1 parameters, but prepared statement ""
requires 0

(there are no restrictions on specific commands in the documentation)


pgsql-bugs by date:

Previous
From: Slawomir Chodnicki
Date:
Subject: Re: BUG #15925: Loss of precision converting money to numeric
Next
From: Andres Freund
Date:
Subject: Re: BUG #15927: PGresult *PQexecParams(..) not work on view