From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Permaine Cheung <pcheung(at)redhat(dot)com> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: patch for examples |
Date: | 2002-06-07 03:54:32 |
Message-ID: | 200206070354.g573sWE13159@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Patch attached and applied. Thanks.
---------------------------------------------------------------------------
Permaine Cheung wrote:
> 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)") ) {
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 3.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Huang | 2002-06-07 05:08:23 | Re: Chinese GB18030 support is implemented! |
Previous Message | Bill Huang | 2002-06-07 02:36:34 | Re: Chinese GB18030 support is implemented! |