From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Whinston <swhinston@pillardata.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Simple compile question
Date: Thu, 07 Nov 2002 10:27:19 -0500
Message-ID: <19498.1036682839@sss.pgh.pa.us> (raw)
In-Reply-To: <0565CAF35FADD64DA09B86C3637BE7291492C2@coex01.trans.corp>
References: <0565CAF35FADD64DA09B86C3637BE7291492C2@coex01.trans.corp>
"Stephen Whinston" <swhinston@pillardata.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, swhinston@pillardata.com
Subject: Re: Simple compile question
In-Reply-To: <19498.1036682839@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox