| From: | "Permaine Cheung" <pcheung(at)redhat(dot)com> |
|---|---|
| To: | <pgsql-patches(at)postgresql(dot)org> |
| Subject: | patch for examples |
| Date: | 2002-05-17 18:48:06 |
| Message-ID: | 087401c1fdd3$61a93350$f90e10ac@toronto.redhat.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
There are a few typos in the examples under src/interfaces.
The following is a small patch to fix them.
Permaine
Red Hat Canada Limited
Index: libpgeasy/examples/pginsert.c
===================================================================
RCS file:
/projects/cvsroot/pgsql/src/interfaces/libpgeasy/examples/pginsert.c,v
retrieving revision 1.7
diff -r1.7 pginsert.c
44c44
< achar16 char16, \
---
> achar16 char(16), \
Index: libpgeasy/examples/pgnulltest.c
===================================================================
RCS file:
/projects/cvsroot/pgsql/src/interfaces/libpgeasy/examples/pgnulltest.c,v
retrieving revision 1.7
diff -r1.7 pgnulltest.c
55c55
< achar16 char16, \
---
> achar16 char(16), \
72c72
< '');");
---
> 'now');");
Index: libpq++/examples/testlibpq4.sql
===================================================================
RCS file:
/projects/cvsroot/pgsql/src/interfaces/libpq++/examples/testlibpq4.sql,v
retrieving revision 1.1
diff -r1.1 testlibpq4.sql
5c5
< CREATE RULE r1 AS ON INSERT TO TBL1 DO [INSERT INTO TBL2 values (new.i);
NOTIFY TBL2];
---
> CREATE RULE r1 AS ON INSERT TO TBL1 DO (INSERT INTO TBL2 values (new.i);
NOTIFY TBL2);
Index: libpq++/examples/testlibpq6.cc
===================================================================
RCS file:
/projects/cvsroot/pgsql/src/interfaces/libpq++/examples/testlibpq6.cc,v
retrieving revision 1.7
diff -r1.7 testlibpq6.cc
28c28
< if ( !data.ExecCommandOk("CREATE TABLE foo (a int4, b char16, d
float8)") ) {
---
> if ( !data.ExecCommandOk("CREATE TABLE foo (a int4, b char(16), d
float8)") ) {
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-05-17 22:48:11 | Re: patch for examples |
| Previous Message | Peter Eisentraut | 2002-05-17 13:37:05 | Re: [INTERFACES] libpgtcl - backend version information patch |