| От | Tom Lane |
|---|---|
| Тема | Re: Simple compile question |
| Дата | |
| Msg-id | 19498.1036682839@sss.pgh.pa.us обсуждение |
| Ответ на | Simple compile question ("Stephen Whinston" <swhinston@pillardata.com>) |
| Список | pgsql-interfaces |
"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
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера