diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-28 02:49:19 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-28 02:49:19 +0000 |
commit | 1f7ba1ebaf613f4ef3542ba4f6340b8b76deeebf (patch) | |
tree | 105c1b01adfcc2e3dd5f483d8bfc405a212bded5 /src/tutorial/funcs.source | |
parent | 081cba45e684bd7cac26f4052ab30fd0f55432bd (diff) | |
download | postgresql-1f7ba1ebaf613f4ef3542ba4f6340b8b76deeebf.tar.gz postgresql-1f7ba1ebaf613f4ef3542ba4f6340b8b76deeebf.zip |
Fix some bogosity in the tutorial examples.
Diffstat (limited to 'src/tutorial/funcs.source')
-rw-r--r-- | src/tutorial/funcs.source | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tutorial/funcs.source b/src/tutorial/funcs.source index b8e03218fd9..b2b20e6928d 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 -- --- $Id: funcs.source,v 1.3 1999/03/14 15:22:15 momjian Exp $ +-- $Id: funcs.source,v 1.4 2000/03/28 02:49:19 tgl Exp $ -- --------------------------------------------------------------------------- @@ -126,16 +126,16 @@ SELECT name(high_pay()) AS overpaid; ----------------------------- CREATE FUNCTION add_one(int4) RETURNS int4 - AS '_OBJWD_/funcs.so' LANGUAGE 'c'; + AS '_OBJWD_/funcs_DLSUFFIX_' LANGUAGE 'c'; CREATE FUNCTION makepoint(point, point) RETURNS point - AS '_OBJWD_/funcs.so' LANGUAGE 'c'; + AS '_OBJWD_/funcs_DLSUFFIX_' LANGUAGE 'c'; CREATE FUNCTION copytext(text) RETURNS text - AS '_OBJWD_/funcs.so' LANGUAGE 'c'; + AS '_OBJWD_/funcs_DLSUFFIX_' LANGUAGE 'c'; CREATE FUNCTION c_overpaid(EMP, int4) RETURNS bool - AS '_OBJWD_/funcs.so' LANGUAGE 'c'; + AS '_OBJWD_/funcs_DLSUFFIX_' LANGUAGE 'c'; SELECT add_one(3) AS four; |