| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Stephen Whinston" <swhinston(at)pillardata(dot)com> |
| Cc: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | Re: Simple compile question |
| Date: | 2002-11-07 15:27:19 |
| Message-ID: | 19498.1036682839@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
"Stephen Whinston" <swhinston(at)pillardata(dot)com> writes:
> gcc -c -I/usr/local/pgsql/include sample.cpp
> aggregate 'PGconn conn' has incomplete type and cannot be initialized
> aggregate 'PGresult res' has incomplete type and cannot be initialized
Where did you get this "sample.cpp" from? It appears to be written
incorrectly.
> Also, a lot of messages seem to indicate that there is sample code
> under the src/ dir. Where is this?
Look in the source-code distribution. I don't believe we install any
sample code; there's no standard place for examples in the usual system
directories.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2002-11-07 16:58:39 | Re: PQcmdTuples() declaration |
| Previous Message | Payman | 2002-11-07 14:32:48 | Re: Simple compile question |