<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://www.slony.info/bugzilla/bugzilla.dtd">

<bugzilla version="3.4.4"
          urlbase="http://www.slony.info/bugzilla/"
          
          maintainer="devrim@gunduz.org"
>

    <bug>
          <bug_id>19</bug_id>
          
          <creation_ts>2007-11-29 13:50:00 -0800</creation_ts>
          <short_desc>fresh schema for a logshipped node - keeping triggers out</short_desc>
          <delta_ts>2007-12-03 08:30:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Slony-I</product>
          <component>other scripts</component>
          <version>devel</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.slony.info/pipermail/slony1-general/2007-October/006763.html</bug_file_loc>
          
          
          <priority>medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Browne">cbbrowne</reporter>
          <assigned_to name="Slony Bugs List">slony1-bugs</assigned_to>
          <cc>jpfletch</cc>
    
    <cc>slony1-bugs</cc>

      

      

      

          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2007-11-29 13:50:49 -0800</bug_when>
            <thetext>How is it that i&apos;m supposed to get clean schema for a logshipped node?

I&apos;ve previously pg_dumped form the log shipped node&apos;s provider, which is itself a subscriber.  On some dbs, however, i&apos;ve run into the &apos;pg_dump sanity check failed&apos; issue when dumping from a subscriber, so I though i&apos;d try slony1_extract_schema.sh.  This extracts schema fine from an origin, but won&apos;t work for a log shipped node (i.e the output of slony1_dump.sh won&apos;t apply) unless I manually drop all of the triggers and constraints that are present on the origin...

-- JP Fletcher, Afilias Canada</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2007-11-29 13:52:29 -0800</bug_when>
            <thetext>Intention: To provide a script that may be run against a fresh log shipping node (e.g. - with schema) to search out triggers on replicated tables and suggest that the Gentle User consider dropping them.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Christopher Browne">cbbrowne</who>
            <bug_when>2007-12-03 08:30:21 -0800</bug_when>
            <thetext>Committed a new tool to search the source schema for triggers/rules.

http://lists.slony.info/pipermail/slony1-commit/2007-December/002102.html
http://lists.slony.info/pipermail/slony1-commit/2007-December/002101.html</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>