summaryrefslogtreecommitdiff
path: root/contrib/lo
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/lo')
-rw-r--r--contrib/lo/lo.c4
-rw-r--r--contrib/lo/lo.sql.in4
2 files changed, 5 insertions, 3 deletions
diff --git a/contrib/lo/lo.c b/contrib/lo/lo.c
index 386c2c2d2f..5de00ad5ca 100644
--- a/contrib/lo/lo.c
+++ b/contrib/lo/lo.c
@@ -1,7 +1,7 @@
/*
* PostgreSQL type definitions for managed LargeObjects.
*
- * $Id: lo.c,v 1.4 2000/06/09 01:10:58 tgl Exp $
+ * $Id: lo.c,v 1.5 2000/11/20 20:36:55 tgl Exp $
*
*/
@@ -140,6 +140,8 @@ lo(Oid oid)
/*
* This handles the trigger that protects us from orphaned large objects
*/
+PG_FUNCTION_INFO_V1(lo_manage);
+
Datum
lo_manage(PG_FUNCTION_ARGS)
{
diff --git a/contrib/lo/lo.sql.in b/contrib/lo/lo.sql.in
index 4aa75a60fe..9b340b196f 100644
--- a/contrib/lo/lo.sql.in
+++ b/contrib/lo/lo.sql.in
@@ -1,7 +1,7 @@
--
-- PostgreSQL code for LargeObjects
--
--- $Id: lo.sql.in,v 1.4 2000/06/19 13:53:42 momjian Exp $
+-- $Id: lo.sql.in,v 1.5 2000/11/20 20:36:55 tgl Exp $
--
--
-- Create the data type
@@ -44,7 +44,7 @@ create function lo(oid)
create function lo_manage()
returns opaque
as 'MODULE_PATHNAME'
- language 'newC';
+ language 'C';
-- This allows us to map lo to oid
--