mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-10 06:09:24 +02:00
45 lines
2.1 KiB
SQL
45 lines
2.1 KiB
SQL
-- add builtin functions that are new to 1.01
|
|
|
|
create function int4eqoid (int4, oid) returns bool as 'foo'
|
|
language 'internal';
|
|
create function oideqint4 (oid, int4) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char2icregexeq (char2, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char2icregexne (char2, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char4icregexeq (char4, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char4icregexne (char4, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char8icregexeq (char8, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char8icregexne (char8, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char16icregexeq (char16, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function char16icregexne (char16, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function texticregexeq (text, text) returns bool as 'foo'
|
|
language 'internal';
|
|
create function texticregexne (text, text) returns bool as 'foo'
|
|
language 'internal';
|
|
|
|
-- add builtin functions that are new to 1.01
|
|
|
|
create operator = (leftarg = int4, rightarg = oid, procedure = int4eqoid);
|
|
create operator = (leftarg = oid, rightarg = int4, procedure = oideqint4);
|
|
create operator ~* (leftarg = char2, rightarg = text, procedure = char2icregexeq);
|
|
create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregexne);
|
|
create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexeq);
|
|
create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregexne);
|
|
create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexeq);
|
|
create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregexne);
|
|
create operator ~* (leftarg = char16, rightarg = text, procedure = char16icregexeq);
|
|
create operator !~* (leftarg = char16, rightarg = text, procedure = char16icregexne);
|
|
create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq);
|
|
create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne);
|
|
|
|
|
|
|