Jan Wieck JanWieck at Yahoo.com
Wed Jan 23 07:50:01 PST 2013
Fix for bug282.

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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=47c6f3876a66c4f461ff044080db37e124401847

Modified Files
--------------
src/backend/slony1_funcs.c |  116 +++++++++++++++++++++++++++++++++----------
src/slon/remote_worker.c   |    4 +-
2 files changed, 91 insertions(+), 29 deletions(-)



More information about the Slony1-commit mailing list