Skip to content

Remove PostgreSQL version of assert #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 17, 2020
Merged

Remove PostgreSQL version of assert #229

merged 2 commits into from
Jul 17, 2020

Conversation

Dandandan
Copy link
Contributor

I linked earlier to this page but didn't notice this was part of PL/pgSQL (so no valid SQL statement in PostgreSQL).

In that case we can better remove the postgres part and simplify the code a bit.
https://www.postgresql.org/docs/10/plpgsql-errors-and-messages.html

@coveralls
Copy link

Pull Request Test Coverage Report for Build 172299310

  • 6 of 6 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 91.63%

Totals Coverage Status
Change from base Build 171538804: 0.04%
Covered Lines: 4171
Relevant Lines: 4552

💛 - Coveralls

@nickolay
Copy link
Contributor

In #226 I assumed both variants (BigQuery and Postgres) of ASSERT were procedural statements. But please feel free to simplify by dropping support for PG's syntax!

@Dandandan
Copy link
Contributor Author

Yeah I think that's better, as they are not valid non procedural statements that we should mix with the other ones.

@Dandandan Dandandan merged commit 583f22b into main Jul 17, 2020
@alamb alamb deleted the assert_remove_postgres branch February 5, 2022 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants