Skip to main content

Built-in Functions and Operators

The following table lists the categories of built-in functions and operators supported by Relyt. All functions and operators are supported in Relyt with the exception of STABLE and VOLATILE functions, which are subject to the restrictions noted in Relyt Function Types. See section Functions and Operators of the PostgreSQL documentation for more information about these built-in functions and operators.

Operator/function categoryVOLATILE functionsSTABLE functionsRestrictions
Logical operatorsN/AN/AN/A
Comparison operatorsN/AN/AN/A
Mathematical functions and operatorsrandom

setseed
N/AN/A
String functions and operatorsAll built-in conversion functionsconvert

pg_client_encoding
N/A
Binary string functions and operatorsN/AN/AN/A
Bit string functions and operatorsN/AN/AN/A
Pattern matchingN/AN/AN/A
Data type formatting functionsN/Ato_char

to_timestamp
N/A
Date/time functions and operatorstimeofdayage

current_date

current_time

current_timestamp

localtime

localtimestamp

now
N/A
Sequence manipulation functionsnextval()

setval()
N/AN/A
Conditional expressionsN/AN/AN/A
Array functions and operatorsN/AAll array functionsN/A
Aggregate functionsN/AN/AN/A
Subquery expressionsN/AN/AN/A
Row and array comparisonsN/AN/AN/A
Set returning functionsgenerate_seriesN/AN/A
System information functionsN/AAll session information functions

All access privilege inquiry functions

All schema visibility inquiry functions

All system catalog information functions

All comment information functions

All transaction ids and snapshots
N/A
System administration functionsset_config

pg_cancel_backend

pg_reload_conf

pg_rotate_logfile

pg_rotate_logfile

pg_start_backup

pg_size_pretty

pg_ls_dir

pg_read_file

pg_stat_file
current_setting

All database object size functions
The function pg_column_size displays bytes required to store the value, possibly with TOAST compression.
XML functions and function-like expressionsN/Acursor_to_xml(cursor refcursor, count int, nulls boolean, tableforest boolean, targetns text)

cursor_to_xmlschema(cursor refcursor, nulls boolean, tableforest boolean, targetns text)

database_to_xml(nulls boolean, tableforest boolean, targetns text)

database_to_xmlschema(nulls boolean, tableforest boolean, targetns text)

database_to_xml_and_xmlschema(nulls boolean, tableforest boolean, targetns text)

query_to_xml(query text, nulls boolean, tableforest boolean, targetns text)

query_to_xmlschema(query text, nulls boolean, tableforest boolean, targetns text)

query_to_xml_and_xmlschema(query text, nulls boolean, tableforest boolean, targetns text)

schema_to_xml(schema name, nulls boolean, tableforest boolean, targetns text)

schema_to_xmlschema(schema name, nulls boolean, tableforest boolean, targetns text)

schema_to_xml_and_xmlschema(schema name, nulls boolean, tableforest boolean, targetns text)

table_to_xml(tbl regclass, nulls boolean, tableforest boolean, targetns text)

table_to_xmlschema(tbl regclass, nulls boolean, tableforest boolean, targetns text)

table_to_xml_and_xmlschema(tbl regclass, nulls boolean, tableforest boolean, targetns text)

xmlagg(xml)

xmlconcat(xml[, ...])

xmlelement(name name [, xmlattributes(value [AS attname] [, ... ])] [, content, ...])

xmlexists(text, xml)

xmlforest(content [AS name] [, ...])

xml_is_well_formed(text)

xml_is_well_formed_document(text)

xml_is_well_formed_content(text)

xmlparse ( { DOCUMENT | CONTENT } value)

xpath(text, xml)

xpath(text, xml, text[])

xpath_exists(text, xml)

path_exists(text, xml, text[])

xmlpi(name target [, content])

xmlroot(xml, version text | no value [, standalone yes|no|no value])

xmlserialize ( { DOCUMENT
CONTENT } value AS type )

xml(text)\text(xml)

xmlcomment(xml)\xmlconcat2(xml, xml)