r/programming • • Sep 24 '20

PostgreSQL 13 Released!

https://www.postgresql.org/about/news/2077/
1.3k Upvotes

236 comments sorted by

View all comments

289

u/little_blue_teapot Sep 24 '20

The major highlights:

PostgreSQL 13 contains many new features and enhancements, including:

  • Space savings and performance gains from de-duplication of B-tree index entries

  • Improved performance for queries that use aggregates or partitioned tables

  • Better query planning when using extended statistics

  • Parallelized vacuuming of indexes

  • Incremental sorting

51

u/I_AM_GODDAMN_BATMAN Sep 24 '20

I'm curious about reverse b-tree index to support LIKE '%something' query. Maybe it's better to use GIN.

1

u/LordSeptum Oct 02 '20

I'm wondering if maybe full-text indexing would fits your needs.. It transliterates words into their base word and indexes them. Then when testing against the index, your query is also transliterated into the base words so that matches may be found.

If you're looking for true "starts with" or "ends with" functionality, I'd have to do some digging but seems possible.