diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-05-21 19:57:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-05-21 19:57:40 +0000 |
commit | 833e84621cf0ed48f1f5537aa5b569f333e02105 (patch) | |
tree | b20f22699af6d10b341d65e7416ecf5c7b9aad09 /src/tutorial/funcs.source | |
parent | a2e7036909d65a7ad3894360ccb7a1dc0fab4279 (diff) | |
download | postgresql-833e84621cf0ed48f1f5537aa5b569f333e02105.tar.gz postgresql-833e84621cf0ed48f1f5537aa5b569f333e02105.zip |
Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4,
and 8.0. Later releases already patched.
Diffstat (limited to 'src/tutorial/funcs.source')
-rw-r--r-- | src/tutorial/funcs.source | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tutorial/funcs.source b/src/tutorial/funcs.source index 4dfdf278333..1c981e1f3ac 100644 --- a/src/tutorial/funcs.source +++ b/src/tutorial/funcs.source @@ -6,7 +6,7 @@ -- -- Copyright (c) 1994-5, Regents of the University of California -- --- $PostgreSQL: pgsql/src/tutorial/funcs.source,v 1.7 2003/11/29 22:41:33 pgsql Exp $ +-- $PostgreSQL: pgsql/src/tutorial/funcs.source,v 1.7.4.1 2006/05/21 19:57:40 momjian Exp $ -- --------------------------------------------------------------------------- @@ -76,10 +76,10 @@ WHERE EMP.cubicle ~= '(2,1)'::point; -- columns of EMP. CREATE FUNCTION new_emp() RETURNS EMP - AS 'SELECT \'None\'::text AS name, + AS 'SELECT ''None''::text AS name, 1000 AS salary, 25 AS age, - \'(2,2)\'::point AS cubicle' + ''(2,2)''::point AS cubicle' LANGUAGE 'sql'; -- you can then project a column out of resulting the tuple by using the |