Provided by: manpages-zh_1.5.2-1_all bug

NAME

       CREATE LANGUAGE -

SYNOPSIS

       CREATE [ TRUSTED ] [ PROCEDURAL ] LANGUAGE name
           HANDLER call_handler [ VALIDATOR valfunction ]

DESCRIPTION

         CREATE LANGUAGE PostgreSQL  PostgreSQL  PostgreSQL

       CREATE LANGUAGE   ``User-Defined Functions''

          template1

PARAMETERS

       TRUSTED
              TRUSTED    PostgreSQL

       PROCEDURAL

       name

       HANDLER call_handler
              call_handler       C     1       PostgreSQL     language_handler
              language_handler

       VALIDATOR valfunction
              valfunction    oid  OID void

                 elog()

NOTES

          PostgreSQL   createlang(1)   createlang  CREATE LANGUAGE

         PostgreSQL  7.3   opaque  language_handler  CREATE  LANGUAGE   opaque
       language_handler

         CREATE FUNCTION [create_function(7)]

         DROP LANGUAGE [drop_language(7)] droplang(1)

         pg_language  ``System Catalogs'' createlang

         USAGE   createlang

EXAMPLES


       CREATE FUNCTION plsample_call_handler() RETURNS language_handler
           AS '$libdir/plsample'
           LANGUAGE C;
       CREATE LANGUAGE plsample
           HANDLER plsample_call_handler;

COMPATIBILITY

       CREATE LANGUAGE  PostgreSQL

SEE ALSO

       ALTER      LANGUAGE      [alter_language(7)],      CREATE      FUNCTION
       [create_function(l)],   DROP   LANGUAGE    [drop_language(l)],    GRANT
       [grant(l)], REVOKE [revoke(l)], createlang(1), droplang(1)

       Postgresql  <laser@pgsqldb.org>