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

Поиск
Список
Период
Сортировка
От hus787@gmail.com
Тема BUG #14104: PREPARE document has a missing parameter in one of the examples
Дата
Msg-id 20160420130628.22913.76672@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #14104: PREPARE document has a missing parameter in one of the examples  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover
Следующее
От: Nathan Mascitelli
Дата:
Сообщение: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover