Add INSERT statement to example so that it can be reproduced
authorPeter Eisentraut
Sun, 25 Jul 2010 08:30:42 +0000 (08:30 +0000)
committerPeter Eisentraut
Sun, 25 Jul 2010 08:30:42 +0000 (08:30 +0000)
from John Gage

doc/src/sgml/xfunc.sgml

index b2795c2cf09315b994ba612a3492f05056670cab..fcbf6407298aeac5a5e1949ec493551f1b85d4fc 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   User-Defined Functions
@@ -293,6 +293,8 @@ CREATE TABLE emp (
     cubicle     point
 );
 
+INSERT INTO emp VALUES ('Bill', 4200, 45, '(2,1)');
+
 CREATE FUNCTION double_salary(emp) RETURNS numeric AS $$
     SELECT $1.salary * 2 AS salary;
 $$ LANGUAGE SQL;