PostgreSQL 10 New Features
Beta 1 source edition · 101 pages · 2017-05-22
WITH EXAMPLES · ENGLISH SOURCE EDITION
Explore the features, SQL examples, and compatibility changes documented by Noriyoshi Shinoda.
Beta 12017-05-22101 PDF pages16 chapters
This book describes the Beta 1 source document. Its examples and compatibility notes reflect that snapshot.
Contents
Reference indexes
The opening chapter includes the first numbered table, Table 1. The indexes below collect the book’s other native numbered components.
Tables
- Table 1 — Version
- Table 2 — Examples notation
- Table 3 — Syntax rules
- Table 4 — option specification
- Table 5 — Added catalog
- Table 6 — Related configuration parameters
- Table 7 — Behavior at mismatch occurrence
- Table 8 — Added system catalog list
- Table 9 — pg_hba_file_rules catalog
- Table 10 — pg_partitioned_table catalog
- Table 11 — pg_publication catalog
- Table 12 — pg_publication_rel catalog
- Table 13 — pg_publication_tables catalog
- Table 14 — pg_sequence catalog
- Table 15 — pg_sequences catalog
- Table 16 — pg_stat_subscription catalog
- Table 17 — pg_statistic_ext catalog
- Table 18 — pg_subscription catalog
- Table 19 — pg_subscription_rel catalog
- Table 20 — System catalog with columns added
- Table 21 — Changed name
- Table 22 — Added role
- Table 23 — Value to be output to the wait_event_type column
- Table 24 — Added column (pg_policy catalog)
- Table 25 — Added column (pg_policies catalog)
- Table 26 — Added parameters
- Table 27 — Changed configuration parameters (from pg_settings catalog)
- Table 28 — Parameters with default values changed
- Table 29 — Deprecated parameters
Examples
- Example 1 — Create LIST partition table
- Example 2 — Create child table
- Example 3 — Reference table definition
- Example 4 — Execution of INSERT statement on parent table
- Example 5 — Obtain partition information
- Example 6 — Create RANGE Partition Table
- Example 7 — Create child table
- Example 8 — Reference table definition
- Example 9 — Execution of INSERT statement on parent table
- Example 10 — Access to child table
- Example 11 — UNBOUNDED designation
- Example 12 — Split UNBOUNDED partition
- Example 13 — Create a table with the same structure as the parent table
- Example 14 — Attach a partition
- Example 15 — Detach a partition
- Example 16 — TRUNCATE for parent table
- Example 17 — COPY for parent table
- Example 18 — Adding and deleting columns from the parent table
- Example 19 — Hierarchical partition
- Example 20 — Partition-identifiable SQL and execution plan
- Example 21 — Partition-unspecified SQL and execution plan
- Example 22 — Information of the parent table
- Example 23 — Information of child table
- Example 24 — Partition using function
- Example 25 — RANGE partition and NULL value
- Example 26 — Partition with different structure child table
- Example 27 — Add primary key to parent table
- Example 28 — Update partitioned column
- Example 29 — ATTACH of the partition containing the tuple
- Example 30 — Partition where column values overlap
- Example 31 — ATTACH for FOREIGN TABLE
- Example 32 — SQL executed on the remote instance
- Example 33 — fail of INSERT statement
- Example 34 — Index creation failure
- Example 35 — Search pg_stat_subscription catalog
- Example 36 — Replication Slot status
- Example 37 — Create replication target table (master / slave instance)
- Example 38 — PUBLICATION object creation (master instance)
- Example 39 — Create SUBSCRIPTION object (slave instance)
- Example 40 — Log that detected primary key violation on SUBSCRIPTION side
- Example 41 — Worker restart log
- Example 42 — Session disconnection log
- Example 43 — Partition tables and replication
- Example 44 — Parallel query with PREPARE and EXECUTE statements
- Example 45 — Parallel Index Scan
- Example 46 — Parallel Index Only Scan
- Example 47 — SubPlan and parallel query
- Example 48 — Parallel Merge Join
- Example 49 — Parallel Bitmap Heap Scan
- Example 50 — Reference pg_sequences catalog
- Example 51 — Search for a sequence (PostgreSQL 9.6)
- Example 52 — Search for a sequence (PostgreSQL 10)
- Example 53 — Referencing pg_stat_activity catalog
- Example 54 — Create temporary replication slot
- Example 55 — Instance start log (partially omitted)
- Example 56 — Create hash index (PostgreSQL 10)
- Example 57 — Create hash index (PostgreSQL 9.6)
- Example 58 — Custom Scan Callback
- Example 59 — Inner Unique Join
- Example 60 — EXPLAIN SUMMARY
- Example 61 — Execute VACUUM VERBOSE statement
- Example 62 — Quorum-based synchronous replication
- Example 63 — Creating tables and POLICY (PERMISSIVE + RESTRICTIVE)
- Example 64 — Confirmation of execution plan (PERMISSIVE + RESTRICTIVE)
- Example 65 — Create POLICIES in RESTRICTIVE mode
- Example 66 — Confirmation of execution plan (RESTRICTIVE + RESTRICTIVE)
- Example 67 — UPDATE statement with ROW keyword
- Example 68 — Creating extended statistics with the CREATE STATISTICS statement
- Example 69 — Confirm the information of the table that created the extended statistics
- Example 70 — Confirm extended statistics
- Example 71 — GENERATED ALWAYS
- Example 72 — OVERRIDING SYSTEM VALUE clause
- Example 73 — GENERATED BY DEFAULT
- Example 74 — Change of ENUM type by ALTER TYPE statement
- Example 75 — Specify SMALLINT type in CREATE SEQUENCE statement
- Example 76 — COPY statement for VIEW
- Example 77 — Enhancement of BRIN index
- Example 78 — UNENCRYPTED clause
- Example 79 — Delete element from JSONB array
- Example 80 — pg_current_logfile function
- Example 81 — xmltable function
- Example 82 — regexp_match function
- Example 83 — pg_ls_logdir / pg_ls_waldir functions
- Example 84 — txid_status function
- Example 85 — to_date (PostgreSQL 9.6)
- Example 86 — to_date (PostgreSQL 10)
- Example 87 — make_date (PostgreSQL 9.6)
- Example 88 — make_date (PostgreSQL 10)
- Example 89 — execute method / cursor method
- Example 90 — subtransaction syntax
- Example 91 — Lack max_logical_replication_workers parameters
- Example 92 — Parameter log_line_prefix default
- Example 93 — Default setting of pg_hba.conf file
- Example 94 — Display table information (PostgreSQL 9.6)
- Example 95 — Display table information (PostgreSQL 10)
- Example 96 — Added output of \timing command
- Example 97 — \gx command
- Example 98 — \set command
- Example 99 — \if command
- Example 100 — -Ft option and -Xstream option
- Example 101 — Temporary replication slot creation log.
- Example 102 — Error when there is no margin in the number of replication slots
- Example 103 — Output in --verbose mode
- Example 104 — SQL for local execution
- Example 105 — Remote execution SQL (from log_statement = 'all' log)
- Example 106 — FULL JOIN between remote tables
- Example 107 — Program specified file_fdw module
- Example 108 — Examples of programs executed
- Example 109 — Execution of bt_index_check function
- Example 110 — pgstathashindex function
- Example 111 — GiST index creation for columns of UUID type and ENUM type
- Example 112 — pg_stat_statements view
Figures
Source edition
The source chapter order, wording, examples, and publication credits are retained. PDF page markers link the reading edition to the original document. Source identity and coverage · About the collection