~/talk

Accelerating PL/pgSQL Code Conversation When Migrating to Postgres

Talkat POSETTE: An Event for Postgres 2024 · 2024-06-11..06-13· [databases]
slides:none on file

Code conversion consumes about 50% of migration effort and the talk lays out concrete accelerators: use plpgsql_check to surface runtime errors before execution, run unit tests with pgTAP and automate type mapping with ora2pg. Plan by dependency graphs and convert low-dependency objects first, mock callable tests from day one, handle empty string vs NULL with NULLIF, pick function argument types deliberately to avoid cast errors, and use plprofiler and pg_stat_statements to find slow nested SQL.

AI-written summary · about

  1. 0:00Beginning of Deepak's talk
  2. 1:01Distribution of Database Migration Efforts
  3. 2:34Why PL/pgSQL
  4. 7:12Code conversion needs planning
  5. 11:32Empty string vs. Null
  6. 13:51Mapping data types
  7. 17:31Extensions that help with code conversion
~/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.