Commit c5baf6b
committed
[yugabyte#5408] [YSQL] Error suppression support for upcoming jsonpath .datetime() method
Summary:
Original Postgres commit was 5bc450629b31a0b6986e668056d5bd36792412d2
Commit message was:
Add support of error suppression in some date and time manipulation functions
as it's required for jsonpath .datetime() method support. This commit doesn't
use PG_TRY()/PG_CATCH() in order to implement that. Instead, it provides
internal versions of date and time functions used, which support error
suppression.
Discussion: https://postgr.es/m/CAPpHfdsZgYEra_PeCLGNoXOWYx6iU-S3wF8aX0ObQUcZU%2B4XTw%40mail.gmail.com
Author: Alexander Korotkov, Nikita Glukhov
Reviewed-by: Anastasia Lubennikova, Peter Eisentraut
Test Plan: Build yugabyte db and run tests via Jenkins
Reviewers: mihnea, jason
Reviewed By: jason
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D95451 parent cb6fbe8 commit c5baf6b
File tree
7 files changed
+479
-220
lines changed- src/postgres/src
- backend/utils/adt
- include/utils
7 files changed
+479
-220
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
561 | 562 | | |
562 | | - | |
563 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
564 | 567 | | |
565 | | - | |
566 | | - | |
567 | | - | |
| 568 | + | |
| 569 | + | |
568 | 570 | | |
569 | 571 | | |
570 | 572 | | |
| |||
580 | 582 | | |
581 | 583 | | |
582 | 584 | | |
583 | | - | |
584 | | - | |
585 | | - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
586 | 598 | | |
587 | 599 | | |
588 | 600 | | |
| |||
591 | 603 | | |
592 | 604 | | |
593 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
594 | 609 | | |
595 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
596 | 623 | | |
597 | 624 | | |
598 | 625 | | |
| |||
611 | 638 | | |
612 | 639 | | |
613 | 640 | | |
614 | | - | |
615 | | - | |
616 | | - | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
617 | 654 | | |
618 | 655 | | |
619 | 656 | | |
| |||
629 | 666 | | |
630 | 667 | | |
631 | 668 | | |
632 | | - | |
633 | | - | |
634 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
635 | 682 | | |
636 | 683 | | |
637 | 684 | | |
638 | 685 | | |
639 | 686 | | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
640 | 696 | | |
641 | 697 | | |
642 | 698 | | |
| |||
0 commit comments