Fri Nov 4 16:01:36 PST 2005
- Previous message: [Slony1-commit] By cbbrowne: slony1_dump.sh - better handling of a '\\\\\\' string Jacek
- Next message: [Slony1-commit] By cbbrowne: [patch] bug #1457: Lack of storage space for log-shipping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- slony1_dump.sh - fix quoting of a string of '\\\\\\'... Jacek Konieczny <jajcus at jajcus.net> Tags: ---- REL_1_1_STABLE Modified Files: -------------- slony1-engine/tools: slony1_dump.sh (r1.1.2.2 -> r1.1.2.3) -------------- next part -------------- Index: slony1_dump.sh =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/slony1_dump.sh,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -Ltools/slony1_dump.sh -Ltools/slony1_dump.sh -u -w -r1.1.2.2 -r1.1.2.3 --- tools/slony1_dump.sh +++ tools/slony1_dump.sh @@ -177,7 +177,7 @@ # ---- echo "select 'copy $clname.sl_sequence_offline from stdin;';" echo "select seq_id::text || ' ' || seq_relname || ' ' || seq_nspname from $clname.sl_sequence;" -echo "select '\\\\.';" +printf "select '\\\\\\\\.';" for seq in $sequences ; do eval seqname=\$seqname_$seq @@ -204,15 +204,7 @@ # Get fieldnames... fields=`psql -At -c "select $clname.copyfields($tab);" $dbname` echo "select 'copy $tabname $fields from stdin;';" - - case $system_type in - AIX|aix) - echo "select '\\\\\\\\.';" - ;; - *) - echo "select '\\\\.';" - ;; - esac + printf "select '\\\\\\\\.';" done # ----
- Previous message: [Slony1-commit] By cbbrowne: slony1_dump.sh - better handling of a '\\\\\\' string Jacek
- Next message: [Slony1-commit] By cbbrowne: [patch] bug #1457: Lack of storage space for log-shipping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list