Skip to content

Commit edff75b

Browse files
committed
Add INSERT statement to example so that it can be reproduced
from John Gage
1 parent 8af787e commit edff75b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/xfunc.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/xfunc.sgml,v 1.149 2010/05/30 18:10:40 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/xfunc.sgml,v 1.150 2010/07/25 08:30:42 petere Exp $ -->
22

33
<sect1 id="xfunc">
44
<title>User-Defined Functions</title>
@@ -293,6 +293,8 @@ CREATE TABLE emp (
293293
cubicle point
294294
);
295295

296+
INSERT INTO emp VALUES ('Bill', 4200, 45, '(2,1)');
297+
296298
CREATE FUNCTION double_salary(emp) RETURNS numeric AS $$
297299
SELECT $1.salary * 2 AS salary;
298300
$$ LANGUAGE SQL;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy