BUG #14104: PREPARE document has a missing parameter in one of the examples

From: hus787(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14104: PREPARE document has a missing parameter in one of the examples
Date: 2016-04-20 13:06:28
Message-ID: 20160420130628.22913.76672@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14104
Logged by: Hussain Parsaiyan
Email address: hus787(at)gmail(dot)com
PostgreSQL version: 9.5.2
Operating system: MacOSX
Description:

The second example here:
http://www.postgresql.org/docs/9.4/static/sql-prepare.html

```
PREPARE usrrptplan (int) AS
SELECT * FROM users u, logs l WHERE u.usrid=$1 AND u.usrid=l.usrid
AND l.date = $2;
EXECUTE usrrptplan(1, current_date);
```

`usrrptplan` should take in too arguments.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2016-04-20 13:54:37 Re: BUG #14103: stored function encryption
Previous Message Nathan Mascitelli 2016-04-20 12:03:44 Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover