Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settled on method for dealing with errors originating from within the
R interpreter. Added global string "last_R_error_msg" to hold the result of geterrmessage(). An error in R now calls throw_r_error() with the result of geterrmessage() as its argument. throw_r_error() saves argument in last_R_error_msg. When the R call ends, PL/R will elog using last_R_error_msg whenever it is set, or a generic message when it is not. This works the same for both 7.3 and 7.4.
- Loading branch information
postgres
committed
Jul 20, 2003
1 parent
d0be9df
commit 5402c0b
Showing
2 changed files
with
27 additions
and
20 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