forked from ssinger/slony1-engine
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There was a problem with the new COPY protocol when a data type or domain used in a replicated column is not in slon's search_path. SPI does not provide a mechanism to get the namespace name of a columns data type. Instead of adding explicit type casting to the apply queries and handing the data in as TEXT Datums, we now use the same technique that PL/pgSQL uses at at least since 8.3 and convert the TEXT datums into the requested data type ourselves.
- Loading branch information
Jan Wieck
authored and
Jan Wieck
committed
Dec 14, 2012
1 parent
d23fed0
commit 47c6f38
Showing
2 changed files
with
91 additions
and
29 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