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
The multi-table truncate statement is necessary in case the two tables are referencing each other by some constraints. In that case Postgres returns an error if you try to truncate each table individually.
The text was updated successfully, but these errors were encountered:
Grammar or Syntax Description
JSQLParser fails to parse Postgres queries with multi-parameter "TRUNCATE" statement.
SQL Example
Additional context
JSQLParser version: 4.6.
I also tested with 4.7 SNAPSHOT
Postgres sql.
https://www.postgresql.org/docs/12/sql-truncate.html
The multi-table truncate statement is necessary in case the two tables are referencing each other by some constraints. In that case Postgres returns an error if you try to truncate each table individually.
The text was updated successfully, but these errors were encountered: