nene / prettier-plugin-sql-cst

Prettier SQL plugin that uses sql-parser-cst
https://nene.github.io/prettier-sql-playground/
GNU General Public License v3.0
123 stars 7 forks source link

PostgreSQL support #4

Closed rdsedmundo closed 1 year ago

rdsedmundo commented 1 year ago

@nene the documentation states only SQLite and BigQuery are supported, why did you close the issue as completed?

nene commented 1 year ago

Well, this "close as completed" is just the default in Github.

Anyway, it's not really a helpful issue per se - especially as it has no description. I know there's no Postgres support, like no support for all other SQL dialects. To even consider adding Postgres formatting, we first need Postgres support in the parser. I also already know that Postgres support is the most requested feature in the parser... but Postgres is a pretty large language, It'll be a big undertaking.

rdsedmundo commented 1 year ago

I understand it's a heavy lift, the idea of the issue is to track the progress, even if it's zero at the moment, and other people can vote and subscribe to it to be notified of how it is going. I didn't write anything in the description because the title was self-explainable.

karlhorky commented 10 months ago

For anyone finding this, the issue in the parser is open over here:

nene commented 8 months ago

FYI: I have now released version 0.10.0, which includes experimental support for PostgreSQL.

Happy new year.