patch: inline code with params
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>, Peter Eisentraut <peter_e@gmx.net>, Florian Pflug <fgp@phlo.org>
Date: 2012-07-06T20:01:02Z
Lists: pgsql-hackers
Attachments
- inline_code_with_params.patch (application/octet-stream) patch
Hello I updated my two years old patch http://archives.postgresql.org/pgsql-hackers/2010-07/txtIakTCBA15Z.txt Syntax is based on Florian Pflog's proposal http://archives.postgresql.org/pgsql-hackers/2010-07/msg00110.php postgres=# do (a int, b int, text) $$begin raise notice '% % %', $1, $2, $3; end; $$ language plpgsql using 10+100,20, :'USER'; NOTICE: 110 20 pavel DO This patch is not final - missing documentation, regress tests, and doesn't support subselects as expr.