Skip to content
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

pgwire: improve multiple portal error msgs #40197

Merged
merged 1 commit into from
Aug 26, 2019
Merged

Conversation

jordanlewis
Copy link
Member

And relink to new issue (#40195).

Release note: None

@jordanlewis jordanlewis requested a review from maddyblue August 24, 2019 19:01
@cockroach-teamcity
Copy link
Member

This change is Reviewable

And relink to new issue.

Release note: None
@jordanlewis
Copy link
Member Author

TFTR

bors r+

craig bot pushed a commit that referenced this pull request Aug 26, 2019
39778: exec: support comparisons between all numeric types r=rafiss a=rafiss

The vectorized engine now supports comparisons between floats, ints, and
decimals.

touches #39189

Release note: None

40197: pgwire: improve multiple portal error msgs r=jordanlewis a=jordanlewis

And relink to new issue (#40195).

Release note: None

40203: builtins: fix bug in aclexplode; add tests r=jordanlewis a=jordanlewis

Closes #39794.

Release note: None

Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
@craig
Copy link
Contributor

craig bot commented Aug 26, 2019

Build succeeded

@craig craig bot merged commit a0c56a1 into cockroachdb:master Aug 26, 2019
@jordanlewis jordanlewis deleted the mars branch August 26, 2019 21:23
rafiss added a commit to rafiss/cockroach that referenced this pull request Apr 14, 2021
It looked like this was accidentally using WithSafeDetails, which is
meant for sentry reporting. (Originally added in cockroachdb#40197.)

Release note: None
rafiss added a commit to rafiss/cockroach that referenced this pull request Apr 20, 2021
It looked like this was accidentally using WithSafeDetails, which is
meant for sentry reporting. (Originally added in cockroachdb#40197.)

Release note: None
craig bot pushed a commit that referenced this pull request Apr 27, 2021
63677: sql/pgwire: implicitly destroy portal on txn finish  r=jordanlewis a=rafiss

fixes #42912
touches #40195 

This also includes a commit to fix an error message hint that seems to be
accidentally using `WithSafeDetails`, which is meant for sentry reporting.
(Originally added in #40197.)

Release note (sql change): Previously, committing a transaction when a
portal was suspended would cause a "multiple active portals not
supported" error. Now, the portal is automatically destroyed.

Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
craig bot pushed a commit that referenced this pull request Apr 27, 2021
63677: sql/pgwire: implicitly destroy portal on txn finish  r=jordanlewis a=rafiss

fixes #42912
touches #40195 

This also includes a commit to fix an error message hint that seems to be
accidentally using `WithSafeDetails`, which is meant for sentry reporting.
(Originally added in #40197.)

Release note (sql change): Previously, committing a transaction when a
portal was suspended would cause a "multiple active portals not
supported" error. Now, the portal is automatically destroyed.

64252: opt: disallow fast path for cascading deletes with subqueries r=mgartner a=mgartner

Previously, the optimizer would attempt to build a fast path cascading
delete for `DELETE`s with a subquery. This caused errors when copying
the original filters for the fast path query. The cascade query is built
using a separate memo with metadata that does not include tables in the
original memo's metadata. As a result, a Scan in a cascade fast path
subquery could reference a table ID that did not exist in the metadata.

This commit prevents building fast path cascading deletes if the
delete has any subqueries.

Fixes #64179

Release note (bug fix): Cascading `DELETE`s with subqueries no longer
error. This bug was present since v21.1.0-alpha.1.

64277: logictest: temporarily disable vectorized flow assertion r=yuzefovich a=yuzefovich

Informs: #64248.

Release note: None


Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
Co-authored-by: Marcus Gartner <marcus@cockroachlabs.com>
Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
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