summaryrefslogtreecommitdiff
path: root/contrib/dbmirror/pending.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-05-19 02:39:04 +0000
committerBruce Momjian <bruce@momjian.us>2006-05-19 02:39:04 +0000
commit9a27f72b37e89f71653292c9be853ad15b84d93f (patch)
treeafd5f1c91079ede97d54d0fd0f3b40b59e33fce8 /contrib/dbmirror/pending.c
parent1c01a5108a4f37bfa34e42629a8bf8b7a7191192 (diff)
Use SQL standard '' rather than \' in /contrib. Backpatch to 8.1.X.
Diffstat (limited to 'contrib/dbmirror/pending.c')
-rw-r--r--contrib/dbmirror/pending.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dbmirror/pending.c b/contrib/dbmirror/pending.c
index f0204f73aaa..26381b01fe0 100644
--- a/contrib/dbmirror/pending.c
+++ b/contrib/dbmirror/pending.c
@@ -1,7 +1,7 @@
/****************************************************************************
* pending.c
- * $Id: pending.c,v 1.23 2005/10/15 02:49:04 momjian Exp $
- * $PostgreSQL: pgsql/contrib/dbmirror/pending.c,v 1.23 2005/10/15 02:49:04 momjian Exp $
+ * $Id: pending.c,v 1.23.2.1 2006/05/19 02:39:04 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/dbmirror/pending.c,v 1.23.2.1 2006/05/19 02:39:04 momjian Exp $
*
* This file contains a trigger for Postgresql-7.x to record changes to tables
* to a pending table for mirroring.
@@ -541,7 +541,7 @@ packageData(HeapTuple tTupleData, TupleDesc tTupleDesc, Oid tableOid,
}
if (*cpUnFormatedPtr == '\\' || *cpUnFormatedPtr == '\'')
{
- *cpFormatedPtr = '\\';
+ *cpFormatedPtr = *cpUnFormatedPtr;
cpFormatedPtr++;
iUsedDataBlock++;
}