vertical-blank / sql-formatter

SQL formatter written with only Java Standard Library, without dependencies.
MIT License
223 stars 46 forks source link

Splitting table name with $ on PostgreSQL #43

Closed K1llMan closed 3 years ago

K1llMan commented 3 years ago

Table names like "MY_SCHEMA.C$_MY_TABLE" will be formatted into three parts"MY_SCHEMA.C $ _MY_TABLE".

vertical-blank commented 3 years ago

In the current implementation, it is almost impossible to tell if the $ sign is being used as a variable placeholder, so please enclose it in double quotes as a workaround.