Re: proposal: plpgsql: special comments that will be part of AST

2021-07-25 Thread Pavel Stehule
Hi > > some like: > > //* plpgsql_check: OFF *// > RAISE NOTICE '%', r.x > > or second design > > b) can we introduce some flag for plpgsql_parser, that allows storing > comments in AST (it will not be default). > > so "-- plpgsql_check: OFF " will work for my purpose, and I don't need > any

proposal: plpgsql: special comments that will be part of AST

2021-07-23 Thread Pavel Stehule
Hi, As an author of plpgsql_check, I permanently have to try to solve genetic problems with the necessity of external information for successful static validation. create or replace function foo(tablename text) returns void as $$ declare r record; begin execute format('select * from %I',