~/talk

PostgreSQL Extensions: A Deep Dive

Talkat Percona Live 2022 · 2022-05-16..05-18· [databases]
links:none on file
slides:none on file

Shows exact, runnable specifics: control and .sql files, a C module with PG_MODULE_MAGIC, and makefile targets that install into PostgreSQL’s extension directory; commands shown include create extension demo and pg_available_extensions and the exact upgrade-file naming like demo--1.0-to-1.1.sql. Demonstrations loadable modules (auto_explain), SPI calls that execute SELECT version, foreign data wrapper handler/validator hooks, and the need to add libraries to shared_preload_libraries for parameters that require preload.

AI-written summary · about

  1. 0:00Start
  2. 1:54What are PostgreSQL Extensions? Extend beyond Core PostgreSQL functionality Customize existing functionality Loadable set of functions Adding new features to PostgreSQL core
  3. 5:04Using PostgreSQL Extension testdb=# CREATE EXTENSION Pg_stat_statements
  4. 7:49Upgrade and removing PostgreSQL Extensions Upgrade extension • ALTER EXTENSION name UPDATE; • ALTER EXTENSION nane UPDATE TO '2.5.2'
  5. 12:31PostgreSQL Plugins Logical Decoding Output Plugins • Shared library loaded dynamically Examples: • test_decoder • decoder_raw
  6. 13:28New Extensions in Amazon RDS for PostgreSQL .85+ extensions and plugins supported in Amazon RDS • Recent additions include
  7. 15:13Requirements of an Extension Minimum extension requirements • Requires a control file
  8. 22:17Upgrading PostgreSQL Extensions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.