summaryrefslogtreecommitdiff
path: root/contrib/userlock/user_locks.sql.in
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-08-30 19:37:51 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-08-30 19:37:51 +0000
commiteec4c7366f04aa258bb8b7fcd2bbc90eda1cc271 (patch)
treedfb6b70845221063cc0515177b993713595ff69c /contrib/userlock/user_locks.sql.in
parent3067ac8e77369c1b41195b4d90e2ff2c0b23bc7f (diff)
downloadpostgresql-eec4c7366f04aa258bb8b7fcd2bbc90eda1cc271.tar.gz
From: Massimo Dal Zotto <dz@cs.unitn.it>
Here is a tar file the new directories, which substitute the old ones in contrib. Please remove the old directories array, datetime, miscutil, string and userlock before unpacking the tar file in contrib. Note that as the modules are now installed in lib/modules I install all my sql code in lib/sql. In my opinion also the other contributors should follow these rules.
Diffstat (limited to 'contrib/userlock/user_locks.sql.in')
-rw-r--r--contrib/userlock/user_locks.sql.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/userlock/user_locks.sql.in b/contrib/userlock/user_locks.sql.in
index da8d105de9..f5ae6a6e95 100644
--- a/contrib/userlock/user_locks.sql.in
+++ b/contrib/userlock/user_locks.sql.in
@@ -1,12 +1,19 @@
--- SQL code to define the user locks functions
+-- user_locks.sql --
+--
+-- SQL code to define the user locks functions.
+--
+-- Copyright (c) 1998, Massimo Dal Zotto <dz@cs.unitn.it>
+--
+-- This file is distributed under the GNU General Public License
+-- either version 2, or (at your option) any later version.
--- select user_lock(group,id,type);
+-- select user_lock(group,id,mode);
--
create function user_lock(int4,int4,int4) returns int4
as 'MODULE_PATHNAME'
language 'c';
--- select user_unlock(group,id,type);
+-- select user_unlock(group,id,mode);
--
create function user_unlock(int4,int4,int4) returns int4
as 'MODULE_PATHNAME'