mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update /contrib for "autocommit TO 'on'".
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
This commit is contained in:
@ -1,7 +1,16 @@
|
||||
--SQL for XML parser
|
||||
|
||||
CREATE FUNCTION pgxml_parse(text) RETURNS bool
|
||||
AS '_OBJWD_/pgxml_dom_DLSUFFIX_' LANGUAGE 'c' WITH (isStrict);
|
||||
-- Adjust this setting to control where the objects get created.
|
||||
SET search_path = public;
|
||||
|
||||
CREATE FUNCTION pgxml_xpath(text,text,text,text) RETURNS text
|
||||
AS '_OBJWD_/pgxml_dom_DLSUFFIX_' LANGUAGE 'c' WITH (isStrict);
|
||||
SET autocommit TO 'on';
|
||||
|
||||
CREATE OR REPLACE FUNCTION pgxml_parse(text)
|
||||
RETURNS bool
|
||||
AS '_OBJWD_/pgxml_dom_DLSUFFIX_'
|
||||
LANGUAGE 'c' WITH (isStrict);
|
||||
|
||||
CREATE OR REPLACE FUNCTION pgxml_xpath(text,text,text,text)
|
||||
RETURNS text
|
||||
AS '_OBJWD_/pgxml_dom_DLSUFFIX_'
|
||||
LANGUAGE 'c' WITH (isStrict);
|
||||
|
Reference in New Issue
Block a user