~/talk

Range Types in PostgreSQL 9.2 - Your Life Will Never Be the Same

Talkat Postgres Open 2012 · 2012-09-17..09-19· [databases]
links:none on file
slides:none on file

PostgreSQL 9.2 adds concrete range types (ints, numerics, timestamps, dates) with operators like && (overlaps), functions lower/upper, and GiST indexing so overlap queries hit an index on 100k-row tests and run orders of magnitude faster than handrolled two-column logic. Exclusion constraints prevent double bookings, inet ranges get added via CREATE TYPE, and VenueBook prototypes its search and scheduling with PostgreSQL 9.2 and GiST index support, reducing long ad‑hoc SQL to single-operator checks; the feature is live soon and demonstrably works in real deployments such as VenueBook.

AI-written summary · about

  1. 0:00Start
  2. 0:05Range Types
  3. 5:16Read Range Notation
  4. 5:54Infinite Ranges
  5. 6:44Build a Range
  6. 22:57Range Types in the Wild
  7. 24:49Documentation
  8. 25:32Conclusion
  9. 32:12Reasons Why Not To Use Range Types
  10. 33:55Have You Had To Deal with Tables with Time Ranges That Are Being Time Partitioned
  11. 48:26Discreet Ranges and Continuous Ranges
~/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.