News for hackers. Stuff that matters.
Re:Rethinking Syntax: Binding by Adjacency by emptysea on Monday March 09, 2026 @10:27PM (#47318433)
In Postgres you can define custom operators via `create operator`[0]

    -- infix
    select a <!!!> b;

    -- prefix
    select <||> a;
A lot of custom types end up using this [1].

    select @-@ '[(0,0),(1,0),(1,1)]'::path;
    -- 2

[0] https://www.postgresql.org/docs/current/sql-createoperator.h... [1] https://www.postgresql.org/docs/current/functions-geometry.h...

There are no comments on this comment yet.