diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-28 08:52:19 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-06-28 08:52:19 +0000 |
commit | 7d38e9af5b95ee000ee761bfdfc9883158706d63 (patch) | |
tree | 3d76d45f6c1309fc3f598e5e5031f1f65df95ae7 /databases/postgresql-plruby/files/createlang.sql | |
parent | Update to 0.8.5. (diff) |
Add postgresql-plruby, PL/Ruby procedural language for the PostgreSQL
database system.
Notes
Notes:
svn path=/head/; revision=44519
Diffstat (limited to 'databases/postgresql-plruby/files/createlang.sql')
-rw-r--r-- | databases/postgresql-plruby/files/createlang.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/postgresql-plruby/files/createlang.sql b/databases/postgresql-plruby/files/createlang.sql new file mode 100644 index 000000000000..0641d1c1e378 --- /dev/null +++ b/databases/postgresql-plruby/files/createlang.sql @@ -0,0 +1,15 @@ +-- +-- Execute the following SQL statements to enable PL/Ruby. +-- +-- $FreeBSD$ +-- + +CREATE FUNCTION plruby_call_handler() RETURNS OPAQUE + AS '!!PLRUBY_SO!!' + LANGUAGE 'C'; + +CREATE TRUSTED PROCEDURAL LANGUAGE 'plruby' + HANDLER plruby_call_handler + LANCOMPILER 'PL/Ruby'; + +-- |