On Tue, Mar 22, 2016 at 2:19 PM, Yury Zhuravlev <u.zhuravlev@postgrespro.ru> wrote: > > 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; > PREPARE > > 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: