diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-20 20:36:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-20 20:36:57 +0000 |
commit | 5bb2300b59b74cdc7c8e3f0bf3c8d31c27657670 (patch) | |
tree | 8a0e76a6742884477e5bb50639e9a7ab9ba42872 /src/bin/scripts/createlang.sh | |
parent | 99198ac6b8d2003949a02a148f4483e2f95e7dd4 (diff) | |
download | postgresql-5bb2300b59b74cdc7c8e3f0bf3c8d31c27657670.tar.gz postgresql-5bb2300b59b74cdc7c8e3f0bf3c8d31c27657670.zip |
Revise handling of oldstyle/newstyle functions per recent discussions
in pghackers list. Support for oldstyle internal functions is gone
(no longer needed, since conversion is complete) and pg_language entry
'internal' now implies newstyle call convention. pg_language entry
'newC' is gone; both old and newstyle dynamically loaded C functions
are now called language 'C'. A newstyle function must be identified
by an associated info routine. See src/backend/utils/fmgr/README.
Diffstat (limited to 'src/bin/scripts/createlang.sh')
-rw-r--r-- | src/bin/scripts/createlang.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/createlang.sh b/src/bin/scripts/createlang.sh index 3fc0a1b02fa..02c27aaf90b 100644 --- a/src/bin/scripts/createlang.sh +++ b/src/bin/scripts/createlang.sh @@ -8,7 +8,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.19 2000/11/13 23:37:53 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.20 2000/11/20 20:36:50 tgl Exp $ # #------------------------------------------------------------------------- @@ -259,7 +259,7 @@ fi # ---------- # Create the call handler and the language # ---------- -$PSQL "CREATE FUNCTION $handler () RETURNS OPAQUE AS '$PGLIB/${object}$DLSUFFIX' LANGUAGE 'newC'" +$PSQL "CREATE FUNCTION $handler () RETURNS OPAQUE AS '$PGLIB/${object}$DLSUFFIX' LANGUAGE 'C'" if [ $? -ne 0 ]; then echo "$CMDNAME: language installation failed" 1>&2 exit 1 |