summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-03-17 23:26:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-03-17 23:26:36 +0000
commit3faa9bab07ab781aa71ea1a3819a30a184e5bdab (patch)
tree1ec505707c66e73387f7a4b46ae2ce2d1165bd14 /src/interfaces/ecpg/test
parent64ef5c82de288c05191551c8d3ee2fe2f404ab5c (diff)
downloadpostgresql-3faa9bab07ab781aa71ea1a3819a30a184e5bdab.tar.gz
Patch possible portability problem: a few places had // style comments,
which is not ANSI C, even though some compilers will take it...
Diffstat (limited to 'src/interfaces/ecpg/test')
-rw-r--r--src/interfaces/ecpg/test/dyntest.pgc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/dyntest.pgc b/src/interfaces/ecpg/test/dyntest.pgc
index 2988730975..3c53ffec7e 100644
--- a/src/interfaces/ecpg/test/dyntest.pgc
+++ b/src/interfaces/ecpg/test/dyntest.pgc
@@ -2,7 +2,7 @@
*
* Copyright (c) 2000, Christof Petig <christof.petig@wtal.de>
*
- * $Header: /cvsroot/pgsql/src/interfaces/ecpg/test/Attic/dyntest.pgc,v 1.5 2000/03/03 13:24:06 meskes Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/test/Attic/dyntest.pgc,v 1.6 2000/03/17 23:26:36 tgl Exp $
*/
#include <stdio.h>
@@ -139,7 +139,7 @@ int main(int argc,char **argv)
break;
case SQL3_NUMERIC:
case SQL3_DECIMAL:
- if (SCALE==0) // we might even print leading zeros "%0*d"
+ if (SCALE==0) /* we might even print leading zeros "%0*d" */
{ exec sql get descriptor MYDESC value :INDEX :INTVAR=data;
printf("%*d",PRECISION,INTVAR);
}