Re: BUG #16181: Error Creating Stored Procedures

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #16181: Error Creating Stored Procedures
Дата
Msg-id CAKFQuwYeco+sqTV4qpFob7egVUFe3nqSPZdbx_+GS=L0jRianQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #16181: Error Creating Stored Procedures  (PG Bug reporting form <noreply@postgresql.org>)
Ответы RE: BUG #16181: Error Creating Stored Procedures  ("Shahzad Ahmad" <shahzadahmad00@gmail.com>)
Список pgsql-bugs
On Wed, Jan 1, 2020 at 4:43 PM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      16181
Logged by:          Shahzad Ahmad
Email address:      shahzadahmad00@gmail.com
PostgreSQL version: 12.1
Operating system:   Ubuntu 18.04.3 LTS
Description:       

I tried both pgAdmin GUI and psql using a script file. In both instances i
got the same error.

CREATE OR REPLACE PROCEDURE admin.my_test(IN role_id integer DEFAULT 0)
LANGUAGE 'plpgsql'

Not a bug...the documentation shows how to write a pl/pgsql function/stored procedure.


Note the "BEGIN" and "END" portions of that syntax diagram are not optional.

David J.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16181: Error Creating Stored Procedures
Следующее
От: "Shahzad Ahmad"
Дата:
Сообщение: RE: BUG #16181: Error Creating Stored Procedures