From a75f2d21a8366aece67b8aa144a8644f6195e75f Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Tue, 29 Dec 1998 02:24:47 +0000 Subject: Clean up to ensure tag completion as required by the newest versions of Norm's Modular Style Sheets and jade/docbook. From Vince Vielhaber . --- doc/src/sgml/ref/create_language.sgml | 77 +++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 35 deletions(-) (limited to 'doc/src/sgml/ref/create_language.sgml') diff --git a/doc/src/sgml/ref/create_language.sgml b/doc/src/sgml/ref/create_language.sgml index 7554f7dcae..4a27a9fd30 100644 --- a/doc/src/sgml/ref/create_language.sgml +++ b/doc/src/sgml/ref/create_language.sgml @@ -12,7 +12,7 @@ Defines a new language for functions - + 1998-09-09 @@ -75,25 +75,26 @@ superuser privilege can use procedures. - - - - comment - - - - The LANCOMPILER argument is the - string that will be - inserted in the LANCOMPILER attribute - of the new - pg_language entry. At present, - Postgres does not use - this attribute in any way. - - - - - + + + + comment + + + + The LANCOMPILER argument is the + string that will be + inserted in the LANCOMPILER attribute + of the new + pg_language entry. At present, + Postgres does not use + this attribute in any way. + + + + + + @@ -117,15 +118,19 @@ superuser privilege can use - - ERROR: PL handler function funcname() doesn't exist - - - - This error is returned if the function - funcname() - is not found. - + + ERROR: PL handler function funcname() doesn't exist + + + + This error is returned if the function + funcname() + is not found. + + + + + @@ -206,6 +211,7 @@ Subsequently, functions and file or anything else that tells the call handler what to do in detail. + @@ -320,19 +326,20 @@ sql |postgres of the dots to complete the PL call handler. See CREATE FUNCTION for information on how to compile it into a loadable module -. + . The following commands then register the sample procedural language: - -CREATE FUNCTION plsample_call_handler () RETURNS opaque + + CREATE FUNCTION plsample_call_handler () RETURNS opaque AS '/usr/local/pgsql/lib/plsample.so' LANGUAGE 'C'; - -CREATE PROCEDURAL LANGUAGE 'plsample' + + CREATE PROCEDURAL LANGUAGE 'plsample' HANDLER plsample_call_handler LANCOMPILER 'PL/Sample'; - + + -- cgit v1.2.1