Other Functions
Besides math, aggregate, window, string, timestamp, and json functions, Redpanda SQL also supports these functions:
| Function | Description |
|---|---|
Returns the first argument that is not NULL, while the remaining arguments from the first non-null argument are not evaluated. |
|
Returns the current database’s name. |
|
Returns the schema’s name (first in the search path). |
|
Checks whether the current user has specific privileges on a schema. |
|
Replaces a given value with NULL if it matches a specific criterion. |
|
Retrieves the internal form of an individual expression (such as the default value for a column). |
|
Retrieves the size of a table. |
|
Retrieves the data type of any given value. |
|
Converts an encoding internal identifier to a human-readable name. |
|
Reconstructs the PostgreSQL command used to retrieve the definition of a specified index. |
|
Retrieves the name of a user (role) given its unique identifier (OID). |
|
Determines whether a specified relation (table) can be published in a publication. |
|
Converts sizes in bytes into a human-readable format. |
|
Retrieves the size of a specific table, including its associated storage components but excluding indexes. |
|
Checks whether a specified table (or other database object) is visible in the current schema search path. |
|
Retrieves the definition of a specific constraint in a human-readable format. |
|
Retrieves the definitions of columns associated with a specified statistics object. |
|
Returns the comment associated with a specific database object. |
|
Retrieves the comment associated with a specified table column based on its name. |
|
Retrieves the comment associated with a shared database object. |
|
Returns the process ID (PID) of the node handling the current session. |