auxten / postgresql-parser

Pure Golang PostgreSQL (SQL:2011, SQL:2008, SQL:2003, SQL:1999, and SQL-92 Standard) Parser
Apache License 2.0
273 stars 50 forks source link

Switch "STRING" for "TEXT" string type by default. #16

Closed MFAshby closed 1 year ago

MFAshby commented 2 years ago

CockroachDB uses "STRING" (but accepts "TEXT" for compatibility) and PostgreSQL uses "TEXT" always.

Fixes https://github.com/auxten/postgresql-parser/issues/15