All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Exploring Custom Operators in Postgres Grammar

By

sbdchd

11mo ago· 2 min readenNews

Summary

The article discusses interesting aspects of Postgres grammar, focusing on custom operators and their significance in Postgres features.

Key quotes

· 3 pulled
I’ve been working on Squawk for a while, it’s a linter for PostgreSQL, and it now uses a handmade parser.
For example, Postgres uses <-> for comparing geometric types, along with a whole host of others: ##, @-@, #, @>, <@>, &<, &>, |>>, |<<, <^, >^, ?-, ?|, ?||, ~=.
A neat consequence of custom operators is that the
Snippet from the RSS feed
Lessons from building a parser

You might also wanna read