You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @bogdan - The challenge we've had in the past is that everyone has different ideas on how SQL should be indented, so it wasn't clear whether this would be a good feature to have directly in pg_query. That said, maybe this is still useful to have, with potentially different styles that could be set.
If you'd like to contribute something that adds this, we'd need to add that in the libpg_query deparser (i.e. requires some C knowledge to add).
This might be ideal library to perform indentation of the SQL query as it is going to be always syntactically correct.
I propose some
deparse
options likeindent
The text was updated successfully, but these errors were encountered: