projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcb9383
)
Changed dbutils to use INT64_FORMAT and int64 for handling %L.
author
Christopher Browne
<cbbrowne@ca.afilias.info>
Wed, 9 Dec 2009 20:58:15 +0000
(20:58 +0000)
committer
Christopher Browne
<cbbrowne@ca.afilias.info>
Wed, 9 Dec 2009 20:58:15 +0000
(20:58 +0000)
- Apply to 2.0
src/slon/dbutils.c
patch
|
blob
|
blame
|
history
diff --git
a/src/slon/dbutils.c
b/src/slon/dbutils.c
index f549ae4df10a491601555675a9ddd4497e717e06..7f9194332836918facbedaae3aa1e3c234343255 100644
(file)
--- a/
src/slon/dbutils.c
+++ b/
src/slon/dbutils.c
@@
-6,7
+6,7
@@
* Copyright (c) 2003-2009, PostgreSQL Global Development Group
* Author: Jan Wieck, Afilias USA INC.
*
- * $Id: dbutils.c,v 1.30.2.
3 2009-08-17 17:09:58 devrim
Exp $
+ * $Id: dbutils.c,v 1.30.2.
4 2009-12-09 20:58:15 cbbrowne
Exp $
* ----------------------------------------------------------------------
*/
@@
-493,7
+493,7
@@
slon_appendquery_int(SlonDString *dsp, char *fmt, va_list ap)
break;
case 'L':
- sprintf(buf,
"%lld", va_arg(ap, int
));
+ sprintf(buf,
INT64_FORMAT, va_arg(ap, int64
));
dstring_append(dsp, buf);
fmt++;
break;