1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Fix some bogosity in the tutorial examples.

This commit is contained in:
Tom Lane
2000-03-28 02:49:19 +00:00
parent 081cba45e6
commit 1f7ba1ebaf
3 changed files with 23 additions and 31 deletions

View File

@ -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;