create database - Docs search results , p.13
Documentation >> PostgreSQL 12
Chapter 24. Routine Database Maintenance Tasks
database administrator's responsibility to set up appropriate scripts, and to check that they execute successfully. One obvious maintenance task is the creation
Documentation >> PostgreSQL 12
F.14. file_fdw
CREATE FOREIGN TABLE pglog ( log_time timestamp(3) with time zone, user_name text, database
Documentation >> PostgreSQL 12
CREATE POLICY
create or change policies for it. While policies will be applied for explicit queries against tables in the database
Documentation >> PostgreSQL 12
11.10. Operator Classes and Operator Families
database does not use the standard “ C ” locale. As an example, you might index a varchar column like this: CREATE
Documentation >> PostgreSQL 12
D.2. Unsupported Features
database, Enhanced integrity management Multiple triggers for the same event are executed in the order in which they were created
Documentation >> PostgreSQL 12
REASSIGN OWNED
database objects owned by one or more roles. The REASSIGN OWNED command does not affect any privileges granted to the old_roles on objects that are not owned by them. Likewise, it does not affect
Documentation >> PostgreSQL 12
20.5. Password Authentication
database user is stored in the pg_authid system catalog. Passwords can be managed with the SQL commands CREATE
Documentation >> PostgreSQL 12
dblink_connect
database session is ended. The connection string may also be the name of an existing foreign server. It is recommended to use the foreign-data wrapper dblink_fdw when defining the foreign server
Documentation >> PostgreSQL 12
51.11. pg_class
database's default tablespace is implied. Not meaningful if the relation has no on-disk file, except for partitioned tables, where this is the tablespace in which partitions will be created
Documentation >> PostgreSQL 12
42.3. Declarations
creates two different ways to name the same object, unrestricted use can be confusing. It's best to use it only for the purpose of overriding predetermined names. 42.3.3. Copying Types variable %TYPE %TYPE provides
Documentation >> PostgreSQL 12
12.1. Introduction
databases for years. PostgreSQL has ~ , ~* , LIKE , and ILIKE operators for textual data types, but they lack many essential properties required by modern information systems: There is no linguistic support, even for English. Regular expressions
Documentation >> PostgreSQL 12
LOAD
database administrator's responsibility to ensure that only “ safe ” libraries are installed there.) Compatibility LOAD is a PostgreSQL extension. See Also CREATE
Documentation >> PostgreSQL 12
51.43. pg_replication_origin
created. For more on replication origins see Chapter 49 . Unlike most system catalogs, pg_replication_origin is shared across all databases
Documentation >> PostgreSQL 12
42.12. Tips for Developing in PL/pgSQL
CREATE OR REPLACE FUNCTION testfunc(integer) RETURNS integer AS $$ .... $$ LANGUAGE plpgsql; While running psql , you can load or reload such a function definition file with: \i filename.sql and then immediately issue SQL commands
Documentation >> PostgreSQL 12
44.1. PL/Perl Functions and Arguments
CREATE FUNCTION perl_max (integer, integer) RETURNS integer AS $$ if ($_[0] > $_[1]) { return $_[0]; } return $_[1]; $$ LANGUAGE plperl; Note Arguments will be converted from the database