-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make FORMAT(), format_numeric() and format_datetime() function PARALL…
…EL UNSAFE (#1949) In FORMAT() function we do the following operations which makes it PARALLEL UNSAFE : EXCEPTION statement is being used which will create a subtransaction. Subtransactions can not be started during a parallel operation. FORMAT() is internally calling format_numeric() and format_datetime() functions where we modify some GUCs like extra_float_digits. We can not modify GUCs during a parallel operation. This change makes the functions FORMAT(), format_numeric() and format_datetime() PARALLEL UNSAFE. Task: BABEL-4394 Signed-off-by: Sai Rohan Basa <[email protected]>
- Loading branch information
1 parent
ae8d70e
commit 3fb85f5
Showing
3 changed files
with
72 additions
and
8 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