diff --git a/doc/src/sgml/ref/prepare.sgml b/doc/src/sgml/ref/prepare.sgml index 4711a3002e..450a829d52 100644 --- a/doc/src/sgml/ref/prepare.sgml +++ b/doc/src/sgml/ref/prepare.sgml @@ -1,5 +1,5 @@ @@ -152,9 +152,9 @@ PREPARE plan_name [ (INSERT statement, and then execute it: -PREPARE fooplan (int, text, bool, numeric(8,2)) AS - INSERT INTO foo VALUES($1, '$2', '$3', '$4'); -EXECUTE fooplan(1, 'Hunter Valley', 't', '200.00'); +PREPARE fooplan (int, text, bool, numeric) AS + INSERT INTO foo VALUES($1, $2, $3, $4); +EXECUTE fooplan(1, 'Hunter Valley', 't', 200.00);