BUG #14104: PREPARE document has a missing parameter in one of the examples - Mailing list pgsql-bugs

From hus787@gmail.com
Subject BUG #14104: PREPARE document has a missing parameter in one of the examples
Date
Msg-id 20160420130628.22913.76672@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #14104: PREPARE document has a missing parameter in one of the examples
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14104
Logged by:          Hussain Parsaiyan
Email address:      hus787@gmail.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.

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover
Next
From: Nathan Mascitelli
Date:
Subject: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover