Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: PG::SyntaxError: Replace 'DISCARD ALL' query to similer operations.
* DISCARD` was implemented on PostgreSQL since v8.3 However, Redshift is based on PostgreSQL 8.0.2 References * [PostgreSQL DISCARD](https://www.postgresql.org/docs/current/static/sql-discard.html) * [Amazon Redshift and PostgreSQL](http://docs.aws.amazon.com/redshift/latest/dg/c_redshift-and-postgres-sql.html)
- Loading branch information