~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/replication/helpers.py

  • Committer: Stuart Bishop
  • Date: 2008-09-15 10:46:27 UTC
  • mto: This revision was merged to the branch mainline in revision 7142.
  • Revision ID: stuart.bishop@canonical.com-20080915104627-75coysphwna25148
Review tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    :param exit_on_fail: If True, on failure of the slonik script
95
95
                         sys.exit is invoked using the slonik return code.
96
96
 
97
 
    :returns: True if the script completed successfully. False it
 
97
    :returns: True if the script completed successfully. False if
98
98
              exit_on_fail is False and the script failed for any reason.
99
99
    """
100
100
 
182
182
                AND seed_namespace.nspname = %s
183
183
                AND seed_class.relname = %s
184
184
 
185
 
                -- Foreign key constraints are all we care about
 
185
                -- Foreign key constraints are all we care about.
186
186
                AND pg_constraint.contype = 'f'
187
187
 
188
188
                -- We want tables referenced by, or referred to, the