You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it is installed into template1, all future databases will have
81
92
the language installed automatically.
@@ -157,6 +168,15 @@ CREATE FUNCTION badfunc() RETURNS integer AS '
157
168
' LANGUAGE 'plperl';
158
169
</programlisting>
159
170
The creation of the function will succeed, but executing it will not.
171
+
172
+
Note that if same function was created by superuser using language
173
+
'plperlu', execution would succeed.
174
+
</para>
175
+
<para>
176
+
Access to database itself from your perl function can be done via
177
+
an experimental module DBD::PgSPI, available at <ulink url="http://www.formenos.org/PgSPI/">this site</ulink>. This module makes available a DBI-compliant
178
+
database-handle named $pg_dbh, and you can use that to make queries with
0 commit comments