-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call
GetActiveSnapshot
when creating TX (#246)
Co-authored-by: Jelte Fennema-Nio <[email protected]>
- Loading branch information
Showing
8 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE foo AS SELECT 'bar' AS t; | ||
BEGIN; SET duckdb.execution = true; SELECT t::integer AS t1 FROM foo; ROLLBACK; | ||
ERROR: (PGDuckDB/ExecuteQuery) Conversion Error: Could not convert string 'bar' to INT32 | ||
LINE 1: SELECT (t)::integer AS t1 FROM public.foo | ||
^ | ||
SET duckdb.execution = true; | ||
SELECT 1 FROM foo; | ||
?column? | ||
---------- | ||
1 | ||
(1 row) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CREATE TABLE foo AS SELECT 'bar' AS t; | ||
BEGIN; SET duckdb.execution = true; SELECT t::integer AS t1 FROM foo; ROLLBACK; | ||
SET duckdb.execution = true; | ||
SELECT 1 FROM foo; |