bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Fri Aug 13 08:21:36 PDT 2010
http://www.slony.info/bugzilla/show_bug.cgi?id=99

Christopher Browne <cbbrowne at ca.afilias.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |106

--- Comment #3 from Christopher Browne <cbbrowne at ca.afilias.info> 2010-08-13 08:21:36 PDT ---
I don't imagine this is actually captured from output.


postgres at cbbrowne:~/slony1-engine.master/src> git checkout REL_2_0_3
HEAD is now at 65fde5f... Changing label to match 2_0_3 instead of the generic
'stable'
postgres at cbbrowne:~/slony1-engine.master/src> ack-grep datestyle
slonik/dbutil.c
142:    slon_mkquery(&query,"SET datestyle TO 'ISO'; "

slon/dbutils.c
101:    /* set the datestyle to ISO */
102:    slon_mkquery(&query, "set datestyle to 'ISO'");
106:            slon_log(SLON_ERROR, "Unable to set the datestyle to ISO\n");

Consider also:

slonik/dbutil.c
143:                                            "SET session_replication_role
TO local; ");

slony_logshipper/parser.c
1925:                                                   "set
session_replication_role to replica;") < 0)

backend/slony1_funcs.sql
3630:                   execute 'set session_replication_role to local;';

slon/remote_worker.c
377:                                            "set session_replication_role =
replica; ",
1376:                                                                    "set
session_replication_role to local; "
1442:                                                            "set
session_replication_role to replica; ",
1465:                                                   if
(archive_append_str(node, "set session_replication_role to local;\n") < 0)
1469:                                                   if
(archive_append_str(node, "set session_replication_role to replica;\n") < 0)
5314:                            "set session_replication_role to replica;\n"

I'm pretty sure that the issue centres around line 142 of slonik/dbutil.c

There has been a nearby change, which was resolved in bug #106.

http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commit;h=dcf7b07ef1a4a7ce7045239577c5dae360d860fc

I don't see anything on the mailing list at about this time, nor in my own
mailboxes.

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list