Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    M

    Michael Paquier

    michael.otacoo.com · Personal blog · on HN since 2012

    Michael Paquier is a PostgreSQL contributor who writes feature highlights for each Postgres release, covering JSON, replication and security.

    Visit blogHN submissions
    Databases
    What HN says

    Commenters call it a great source on new Postgres features, citing his posts on row-level security, JSON operators, and synchronous replication in 9.6.

    Stats for nerds
    34HN people shared it
    31linked in comments
    667story points
    May 2016last shared
    2013people per year2016

    Top posts on HN

    1. 1
      Postgres 9.4 feature highlight: Indexing JSON data with jsonb data type
      1 person · 200 points · first shared 2014 · 39 comments on HN
    2. 2
      Postgres 9.5 feature highlight: row-level security and policies
      2 people · 153 points · first shared 2014 · 61 comments on HN
    3. 3
      Postgres 9.3 feature highlight: JSON operators
      4 people · 86 points · first shared 2013 · 29 comments on HN
    4. 4
      Postgres 9.2 highlight: JSON data type
      1 person · 73 points · first shared 2012 · 24 comments on HN
    5. 5
      Postgres 9.5 feature highlight: Import Foreign Schema
      1 person · 64 points · first shared 2014 · 10 comments on HN
    6. 6
      Postgres 9.3 feature highlight: Materialized views
      2 people · 12 points · first shared 2013 · Discussion on HN
    7. 7
      Postgres 9.5 feature highlight: BRIN indexes
      1 person · 8 points · first shared 2014 · Discussion on HN
    8. 8
      Postgres 9.6 feature highlight: Multiple synchronous standbys
      3 people · 7 points · first shared 2016 · Discussion on HN
    9. 9
      Postgres 9.3 feature highlight: custom background workers
      1 person · 7 points · first shared 2013 · Discussion on HN
    10. 10
      Postgres 9.3 feature highlight: JSON data generation
      1 person · 7 points · first shared 2013 · Discussion on HN

    What HN people wrote when they linked it

    • BenoitPMar 2016

      One can hope that this will get fixed over time. 9.4 introduced some flexibility over streaming out data changes from the Write Ahead Log, from [1]:

      > Add support for logical decoding of WAL data, to allow database changes to be streamed out in a customizable format.

      Also 9.5 added new metadata to it [2]:

      > Each WAL record now carries information about the modified relation and (s) in a standardized format. That makes it easier to write tools that need that information, like pg_rewind, prefetching the blocks to speed up recovery, etc.

      Hopefully we will see the ecosystem pick up on those changes. Percona made a killing in helping replication take place in MySQL. I don't see why this would not happen with postgres.

      I'm confident things will improve.

      [1] http://www.postgresql.org/docs/9.4/static/release-9-4.html

      [2] http://michael.otacoo.com/postgresql-2/postgres-9-5-feature-highlight-new-wal-format/

    • vogFeb 2016

      > Index scans imply extra disk seeks to fetch the index.

      This is no longer true in this generality, because since PostgreSQL 9.2 there are also index-only scans. Those scans take the data directly from the index, without going through the original rows at all. Of course, this works only under certain conditions. See also:

      http://michael.otacoo.com/postgresql-2/postgresql-9-2-highlight-index-only-scans/

      http://www.postgresql.org/docs/9.2/static/index-scanning.html

      "If the index stores the original indexed data values (and not some lossy representation of them), it is useful to support index-only scans, in which the index returns the actual data not just the TID of the heap tuple. This will only work if the visibility map shows that the TID is on an all-visible page; else the heap tuple must be visited anyway to check MVCC visibility. But that is no concern of the access method's."

    • yangyangOct 2014

      Apologies - I was thinking of ALTER SYSTEM [1]. That writes to postgresql.auto.conf. It sounds like that file has priority over postgresql.conf [2]. You might well be able to just prevent writes by the postgres user (or whatever user you're running postgres as).

      Regarding superusers overwriting files - COPY can write to anywhere on the filesystem. From the docs "COPY naming a file is only allowed to database superusers, since it allows reading or writing any file that the server has privileges to access." [3].

      [1] http://www.postgresql.org/docs/9.4/static/sql-altersystem.html

      [2] http://michael.otacoo.com/postgresql-2/postgres-9-4-feature-highlight-alter-system-set-for-dynamic-configuration/

      [3] http://www.postgresql.org/docs/current/static/sql-copy.html

    • TwisellAug 2015

      Well something not mentioned in this article is the that 9.5 should also introduce inheritance from/to Foreign Tables which is one step closer to nice and easy horizontal scaling.

      Found this detailed example : http://michael.otacoo.com/postgresql-2/postgres-9-5-feature-foreign-table-inheritance/

      Maybe thats not a No-SQL trendy way of doing things, but for I am more used to PostgreSQL this look pretty neat. I think as the old and reliable project it is it will come to BigData at its own pace and quietly... but its already moving toward this and FDW was the first step.

    • alternizeAug 2013

      while there are a lot of different improvements, i'm really looking forward to the enhanced JSON functionalities (particularly the new operators [0]) and the LATERAL JOIN [1]

      [0] http://michael.otacoo.com/postgresql-2/postgres-9-3-feature-highlight-json-operators/
      [1] http://www.postgresql.org/docs/9.3/static/queries-table-expressions.html#QUERIES-LATERAL

    • craigkerstiensFeb 2014

      Agreed, despez is a great source as is Michael Paquier's blog (http://michael.otacoo.com/). The goal here was to boil it up a bit more to the practical uses and benefits versus the technical details of it. Further there was a talk at FOSDEM just yesterday which highlighted much of whats committed in 9.4, though slides aren't online yet.

    Related

    Craig Kerstienscraigkerstiens.com101 people

    Give Me Back My Monolith

    Craig Kerstiens
    Personal · last shared 2025
    Dimitri Fontainetapoueh.org48 people

    Aggregating NBA data, PostgreSQL vs MongoDB

    Dimitri Fontaine
    Personal · last shared 2026
    Josh Berkusdatabasesoup.com39 people

    Of Booze and Brogrammers

    Josh Berkus
    Personal · last shared 2019
    2ndQuadrant Blogblog.2ndquadrant.com99 people

    Data Loss at GitLab

    2ndQuadrant Blog
    Company · last shared 2025
    Citus Data Blogcitusdata.com224 people

    Citus Unforks from PostgreSQL, Goes Open Source

    Citus Data Blog
    Company · last shared 2026
    Brandurbrandur.org187 people

    Learning from Terminals to Design the Future of User Interfaces

    Brandur
    Personal · last shared 2026
    Christophe Pettusthebuild.com53 people

    Securing PostgreSQL [pdf]

    Christophe Pettus
    Personal · last shared 2026
    pganalyze Blogpganalyze.com54 people

    Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O

    pganalyze Blog
    Company · last shared 2026