Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index4025
Utility CommandsE.6.3.2. Utility Commands
Allow generated columns to be virtual, and make them the default (Peter Eisentraut, Jian He, Richard Guo, Dean Rasheed) § § § Virtual generated columns generate the…Utility Commands
Utility Functions44.9. Utility Functions
The plpy module also provides the functions
plpy.debug(msg, **kwargs) plpy.log(msg, **kwargs) plpy.info(msg, **kwargs) plpy.notice(msg, **kwargs) plpy.warning(msg, **…Utility Functions
Utility Functions in PL/Perl43.3.2. Utility Functions in PL/Perl
elog(level, msg) Emit a log or error message. Possible levels are DEBUG, LOG, INFO, NOTICE, WARNING, and ERROR. ERROR raises an error condition; if this …Utility Functions in PL/Perl
UUID Functions9.14. UUID Functions
Table 9.45 shows the PostgreSQL functions that can be used to generate UUIDs.
Table 9.45. UUID Generation Functions Function Description Example(s) gen_random_uuid ( ) →…UUID Functions
UUID Type8.12. UUID Type
The data type uuid stores Universally Unique Identifiers (UUID) as defined by RFC 9562, ISO/IEC 9834-8:2005, and related standards. (Some systems refer to this data type as a…UUID Type
uuid-ossp FunctionsF.49.1. uuid-ossp Functions
Table F.35 shows the functions available to generate UUIDs. The relevant standards ITU-T Rec. X.667, ISO/IEC 9834-8:2005, and RFC 4122 specify four algorithms for…uuid-ossp Functions
uuid-ossp — a UUID generatorF.49. uuid-ossp — a UUID generator
The uuid-ossp module provides functions to generate universally unique identifiers (UUIDs) using one of several standard algorithms. There are also functio…uuid-ossp — a UUID generator
VACUUMVACUUM VACUUM — garbage-collect and optionally analyze a database
Synopsis VACUUM [ ( option [, ...] ) ] [ table_and_columns [, ...] ] where option can be one of: FULL [ boolean ] FREEZE [ b…VACUUM
VACUUM Progress Reporting27.4.5. VACUUM Progress Reporting
Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently…VACUUM Progress Reporting
vacuumdbvacuumdb vacuumdb — garbage-collect and analyze a PostgreSQL database
Synopsis vacuumdb [connection-option...] [option...] [ -t | --table table [( column [,...] )] ] ... [ dbname | -a | --al…vacuumdb
Vacuuming19.10. Vacuuming
These parameters control vacuuming behavior. For more information on the purpose and responsibilities of vacuum, see Section 24.1.Vacuuming
Vacuuming Basics24.1.1. Vacuuming Basics
PostgreSQL's VACUUM command has to process each table on a regular basis for several reasons:
To recover or reuse disk space occupied by updated or deleted rows. To …Vacuuming Basics
vacuumlovacuumlo vacuumlo — remove orphaned large objects from a PostgreSQL database
Synopsis vacuumlo [option...] dbname...vacuumlo
Validate Callback50.3.2. Validate Callback
The validate_cb callback is executed during the OAuth exchange when a user attempts to authenticate using OAuth. Any state set in previous calls will be available i…Validate Callback
Validator Responsibilities50.1.1. Validator Responsibilities
Although different modules may take very different approaches to token validation, implementations generally need to perform three separate actions:
Valida…Validator Responsibilities
Value Expressions4.2. Value Expressions
Value expressions are used in a variety of contexts, such as in the target list of the SELECT command, as new column values in INSERT or UPDATE, or in search condition…Value Expressions
Value Storage10.4. Value Storage
Values to be inserted into a table are converted to the destination column's data type according to the following steps.
Value Storage Type Conversion Check for an exact …Value Storage
VALUESVALUES VALUES — compute a set of rows
Synopsis VALUES ( expression [, ...] ) [, ...] [ ORDER BY sort_expression [ ASC | DESC | USING operator ] [, ...] ] [ LIMIT { count | ALL } ] [ OFFSET s…VALUES
VALUES Lists7.7. VALUES Lists
VALUES provides a way to generate a “constant table” that can be used in a query without having to actually create and populate a table on-disk. The syntax is
VALUES ( expr…VALUES Lists
VARVAR VAR — define a variable
Synopsis VAR varname IS ctypeVAR
Variable Substitution41.11.1. Variable Substitution
SQL statements and expressions within a PL/pgSQL function can refer to variables and parameters of the function. Behind the scenes, PL/pgSQL substitutes query …Variable Substitution
VariablesVariables
psql provides variable substitution features similar to common Unix command shells. Variables are simply name/value pairs, where the value can be any string of any length. The name…Variables
Variant Comparison Files31.3. Variant Comparison Files
Since some of the tests inherently produce environment-dependent results, we have provided ways to specify alternate “expected” result files. Each regression t…Variant Comparison Files
Version 1 Calling Conventions36.10.3. Version 1 Calling Conventions
The version-1 calling convention relies on macros to suppress most of the complexity of passing arguments and results. The C declaration of a version-1…Version 1 Calling Conventions
Version and Platform Compatibility19.13. Version and Platform CompatibilityVersion and Platform Compatibility
Version Information Functions9.27.11. Version Information Functions
The functions shown in Table 9.93 print version information.
Table 9.93. Version Information Functions Function Description version () → text Returns a…Version Information Functions
View Rules in Non-SELECT Statements39.2.2. View Rules in Non-SELECT Statements
Two details of the query tree aren't touched in the description of view rules above. These are the command type and the result relation. In fact, …View Rules in Non-SELECT Statements
view_column_usage35.63. view_column_usage
The view view_column_usage identifies all columns that are used in the query expression of a view (the SELECT statement that defines the view). A column is only incl…view_column_usage
view_routine_usage35.64. view_routine_usage
The view view_routine_usage identifies all routines (functions and procedures) that are used in the query expression of a view (the SELECT statement that defines th…view_routine_usage
view_table_usage35.65. view_table_usage
The view view_table_usage identifies all tables that are used in the query expression of a view (the SELECT statement that defines the view). A table is only included…view_table_usage
Viewing Locks27.3. Viewing Locks
Another useful tool for monitoring database activity is the pg_locks system table. It allows the database administrator to view information about the outstanding locks in…Viewing Locks
Viewing Statistics27.2.2. Viewing Statistics
Several predefined views, listed in Table 27.1, are available to show the current state of the system. There are also several other views, listed in Table 27.2, av…Viewing Statistics
views35.66. views
The view views contains all views defined in the current database. Only those views are shown that the current user has access to (by way of being the owner or having some privi…views
Views3.2. Views
Refer back to the queries in Section 2.6. Suppose the combined listing of weather records and city location is of particular interest to your application, but you do not want to t…Views
Views and the Rule System39.2. Views and the Rule System
Views in PostgreSQL are implemented using the rule system. A view is basically an empty table (having no actual storage) with an ON SELECT DO INSTEAD rule. Co…Views and the Rule System
Visibility Map66.4. Visibility Map
Each heap relation has a Visibility Map (VM) to keep track of which pages contain only tuples that are known to be visible to all active transactions; it also keeps trac…Visibility Map
Visibility of Data Changes45.5. Visibility of Data Changes
The following rules govern the visibility of data changes in functions that use SPI (or any other C function):
During the execution of an SQL command, any da…Visibility of Data Changes
Visibility of Data Changes37.2. Visibility of Data Changes
If you execute SQL commands in your trigger function, and these commands access the table that the trigger is for, then you need to be aware of the data visi…Visibility of Data Changes
Visual Studio17.7.5. Visual Studio
It is recommended that most users download the binary distribution for Windows, available as a graphical installer package from the PostgreSQL website at https://www.po…Visual Studio
Wait EventsF.38.8. Wait Events
postgres_fdw can report the following wait events under the wait event type Extension:
PostgresFdwCleanupResult Waiting for transaction abort on remote server. PostgresFd…Wait Events
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open