ValkDB/postgresparser — ANTLR-based PostgreSQL query parser for Go. Extracts tables, columns, joins, CTE

AN
Ali Nemati
Feb 2133 sec read16 views

181 stars | 7 forks | Go

ANTLR-based PostgreSQL query parser for Go. Extracts tables, columns, joins, CTEs, parameters, DDL actions, and full column-usage metadata from SQL into a structured IR.

What it does

postgresparser is a pure-Go PostgreSQL query parser that allows developers to extract structured metadata from SQL queries without needing cgo. It is ideal for environments where a C toolchain is not available, making it versatile for various deployment scenarios.

Why it matters: Unlock the power of SQL parsing in Go with postgresparser—no cgo required!

View on GitHub


Want to create content about this repo? Use Nemati AI tools to generate articles, tutorials, and social posts.

16
Comments
Contents
AN
Ali NematiWritten by Ali
View all posts

Related Articles