Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Started making changes to supports PostgreSQL 8.0:
* Older versions of PostgreSQL cannot cast `name[]` to text. So we pass such variables through `array_to_string()`, instead. I think that the output is probably more appropriate, anyway. * Replaced all but one usage of `regexp_replace()`, since it's not available in older versions of PostgreSQL. That last one will be replaced before long, too. * Switched to using `FOR record IN EXECUTE` to fetch a value. It's an ugly hack, but older versions of PostgreSQL require it. I'll probably have to do the same thing in a few other places. * Booleans don't case to text very well in 8.0. So use a CASE statement, instead. Thanks to David Westerbrook for the patch. * Fixed the raising of an exception so that its variable argument is not dynamically generated, which 8.0 doesn't seem to like.
- Loading branch information
Showing
7 changed files
with
48 additions
and
42 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
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