Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index908
txid_snapshot_xiptxid_snapshot_xip
System Information Functions And Operators
10
get in-progress transaction IDs in snapshot
txid_snapshot_xip ( txid_snapshot ) → setof bigint get in-progress transaction IDs…Functions · System Information Functions And Operators
txid_snapshot_xmaxtxid_snapshot_xmax
System Information Functions And Operators
10
get xmax of snapshot
txid_snapshot_xmax ( txid_snapshot ) → bigint get xmax of snapshot
11
12
13
See pg_snapshot_xmax().
txid…Functions · System Information Functions And Operators
txid_snapshot_xmintxid_snapshot_xmin
System Information Functions And Operators
10
get xmin of snapshot
txid_snapshot_xmin ( txid_snapshot ) → bigint get xmin of snapshot
11
12
13
See pg_snapshot_xmin().
txid…Functions · System Information Functions And Operators
txid_statustxid_status
System Information Functions And Operators
10
report the status of the given transaction: committed, aborted, in progress, or null if the transaction ID is too old
txid_status ( …Functions · System Information Functions And Operators
txid_visible_in_snapshottxid_visible_in_snapshot
System Information Functions And Operators
10
is transaction ID visible in snapshot? (do not use with subtransaction ids)
txid_visible_in_snapshot ( bigint, txid_sna…Functions · System Information Functions And Operators
unicode_assignedunicode_assigned
String Functions And Operators
17
Returns true if all characters in the string are assigned Unicode codepoints; false otherwise. This function can only be used when the serv…Functions · String Functions And Operators
unicode_versionunicode_version
System Information Functions And Operators
17
Returns a string representing the version of Unicode used by PostgreSQL.
unicode_version () → text Returns a string representing…Functions · System Information Functions And Operators
uniquniq ( integer[] ) → integer[] Removes adjacent duplicates. Often used with sort to remove all duplicates. uniq('{1,2,2,3,1,1}'::integer[]) → {1,2,3,1} uniq(sort('{1,2,3,2,1}'::integer[])) →…intarray — manipulate arrays of integers › intarray Functions and Operators
unistrunistr
String Functions And Operators
14
Evaluate escaped Unicode characters in the argument. Unicode characters can be specified as \XXXX (4 hexadecimal digits), \+XXXXXX (6 hexadecimal dig…Functions · String Functions And Operators
unnestunnest
Text Search Functions And Operators
10
expand a tsvector to a set of rows
unnest ( tsvector, OUT lexeme text, OUT positions smallint[], OUT weights text ) → setof record expand a tsve…Functions · Text Search Functions And Operators
upperupper
String Functions And Operators
10
Convert string to upper case
upper ( string ) → text Convert string to upper case
upper ( anyrange ) → range's element type upper bound of range
11
12…Functions · String Functions And Operators
upper_incupper_inc
Range/Multirange Functions And Operators
10
is the upper bound inclusive?
upper_inc ( anyrange ) → boolean is the upper bound inclusive?
11
12
13
Is the range's upper bound inclusi…Functions · Range/Multirange Functions And Operators
upper_infupper_inf
Range/Multirange Functions And Operators
10
is the upper bound infinite?
upper_inf ( anyrange ) → boolean is the upper bound infinite?
11
12
13
Is the range's upper bound infinite?…Functions · Range/Multirange Functions And Operators
useruser
System Information Functions And Operators
10
equivalent to current_user
user → name equivalent to current_user
11
12
13
This is equivalent to current_user.
user → name This is equivale…Functions · System Information Functions And Operators
uuid_extract_timestampuuid_extract_timestamp
Uuid Functions
17
This function extracts a timestamp with time zone from UUID version 1. For other versions, this function returns null. Note that the extracted timest…Functions · Uuid Functions
uuid_extract_versionuuid_extract_version
Uuid Functions
17
This function extracts the version from a UUID of the variant described by RFC 4122. For other variants, this function returns null. For example, for a…Functions · Uuid Functions
uuid_generate_v1uuid_generate_v1 () → uuid Generates a version 1 UUID. This involves the MAC address of the computer and a time stamp. Note that UUIDs of this kind reveal the identity of the computer that c…uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_generate_v1mcuuid_generate_v1mc () → uuid Generates a version 1 UUID, but uses a random multicast MAC address instead of the real MAC address of the computer.uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_generate_v3uuid_generate_v3 ( namespace uuid, name text ) → uuid Generates a version 3 UUID in the given namespace using the specified input name. The namespace should be one of the special constants p…uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_generate_v4uuid_generate_v4 () → uuid Generates a version 4 UUID, which is derived entirely from random numbers.uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_generate_v5uuid_generate_v5 ( namespace uuid, name text ) → uuid Generates a version 5 UUID, which works like a version 3 UUID except that SHA-1 is used as a hashing method. Version 5 should be preferr…uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_niluuid_nil () → uuid Returns a “nil” UUID constant, which does not occur as a real UUID.uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_ns_dnsuuid_ns_dns () → uuid Returns a constant designating the DNS namespace for UUIDs.uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_ns_oiduuid_ns_oid () → uuid Returns a constant designating the ISO object identifier (OID) namespace for UUIDs. (This pertains to ASN.1 OIDs, which are unrelated to the OIDs used in PostgreSQL.)uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_ns_urluuid_ns_url () → uuid Returns a constant designating the URL namespace for UUIDs.uuid-ossp — a UUID generator › uuid-ossp Functions
uuid_ns_x500uuid_ns_x500 () → uuid Returns a constant designating the X.500 distinguished name (DN) namespace for UUIDs.uuid-ossp — a UUID generator › uuid-ossp Functions
uuidv4uuidv4
Uuid Functions
18
Generates a version 4 (random) UUID
uuidv4 ( ) → uuid Generates a version 4 (random) UUID
19
20Functions · Uuid Functions
uuidv7uuidv7
Uuid Functions
18
Generates a version 7 (time-ordered) UUID. The timestamp is computed using UNIX timestamp with millisecond precision + sub-millisecond timestamp + random. The option…Functions · Uuid Functions
var_popvar_pop
Aggregate Functions
10
population variance of the input values (square of the population standard deviation)
var_pop ( expression ) → double precision for floating-point arguments, o…Functions · Aggregate Functions
var_sampvar_samp
Aggregate Functions
10
sample variance of the input values (square of the sample standard deviation)
var_samp ( expression ) → double precision for floating-point arguments, otherwi…Functions · Aggregate Functions
variancevariance
Aggregate Functions
10
historical alias for var_samp
variance ( expression ) → double precision for floating-point arguments, otherwise numeric historical alias for var_samp
11
12
1…Functions · Aggregate Functions
versionversion
System Information Functions And Operators
10
PostgreSQL version information. See also server_version_num for a machine-readable version.
version ( ) → text PostgreSQL version inform…Functions · System Information Functions And Operators
websearch_to_tsquerywebsearch_to_tsquery
Text Search Functions And Operators
11
produce tsquery from a web search style query
websearch_to_tsquery ( [ config regconfig , ] query text ) → tsquery produce tsquery…Functions · Text Search Functions And Operators
widthwidth
Geometric Functions And Operators
10
horizontal size of box
width ( box ) → double precision horizontal size of box
11
12
13
Computes horizontal size of box.
width ( box ) → double pre…Functions · Geometric Functions And Operators
width_bucketwidth_bucket
Mathematical Functions And Operators
10
return the bucket number to which operand would be assigned in a histogram having count equal-width buckets spanning the range b1 to b2; …Functions · Mathematical Functions And Operators
word_similarityword_similarity ( text, text ) → real Returns a number that indicates the greatest similarity between the set of trigrams in the first string and any continuous extent of an ordered set of t…pg_trgm — support for similarity of text using trigram matching › Functions and Operators
xml_is_well_formedxml_is_well_formed
Xml Functions
10
These functions check whether a text string is well-formed XML, returning a Boolean result. xml_is_well_formed_document checks for a well-formed document,…Functions · Xml Functions
xml_is_well_formed_contentxml_is_well_formed_content
Xml Functions
10
These functions check whether a text string is well-formed XML, returning a Boolean result. xml_is_well_formed_document checks for a well-formed d…Functions · Xml Functions
xml_is_well_formed_documentxml_is_well_formed_document
Xml Functions
10
These functions check whether a text string is well-formed XML, returning a Boolean result. xml_is_well_formed_document checks for a well-formed …Functions · Xml Functions
xml_validxml_valid ( document text ) → boolean Parses the given document and returns true if the document is well-formed XML. (Note: this is an alias for the standard PostgreSQL function xml_is_well_…xml2 — XPath querying and XSLT functionality › Description of Functions
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open