-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load icu extension by default (#512)
Fixes comparisons/operators of the `timestamp with timezone` type. Fixes #490
- Loading branch information
1 parent
6941855
commit 1a68605
Showing
5 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE recently_created_table(a VARCHAR); | ||
INSERT INTO recently_created_table VALUES ('latest 1'), ('latest 2'), ('latest 3'); | ||
select 1 as result | ||
FROM recently_created_table | ||
WHERE timestamp with time zone '2024-12-10 13:59:59.776896+00' < CAST((NOW() + INTERVAL '1 day') AS date) | ||
LIMIT 1; | ||
result | ||
-------- | ||
1 | ||
(1 row) | ||
|
||
drop table recently_created_table; |
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,9 @@ | ||
CREATE TABLE recently_created_table(a VARCHAR); | ||
INSERT INTO recently_created_table VALUES ('latest 1'), ('latest 2'), ('latest 3'); | ||
|
||
select 1 as result | ||
FROM recently_created_table | ||
WHERE timestamp with time zone '2024-12-10 13:59:59.776896+00' < CAST((NOW() + INTERVAL '1 day') AS date) | ||
LIMIT 1; | ||
|
||
drop table recently_created_table; |
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