On Tue, Mar 22, 2016 at 2:19 PM, Yury Zhuravlev <u.zhurav...@postgrespro.ru>
> Yury Zhuravlev wrote:
>>> You already have a patch? If yes I'm glad to review it.
>> Please. Patch in attachment.
> Fix bug, forgot change attr number in parser. And, I forgot example:
> PREPARE usrrptplan (int) IF NOT EXISTS AS
> SELECT * FROM pg_operator;
> New patch in attachment.
I'll review it soon... but just a few comments:
1) I think this syntax is wrong... Instead the common should be:
PREPARE [IF NOT EXISTS] ...
2) All of CINE statements we emit a NOTICE skipping message, so you should
emit a message like it:
errmsg("prepared statement \"%s\" already exists,
3) There are no regression tests
4) There are no docs
Fabrízio de Royes Mello
>> Timbira: http://www.timbira.com.br
>> Blog: http://fabriziomello.github.io
>> Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
>> Github: http://github.com/fabriziomello