| От | Andy Colson |
|---|---|
| Тема | Re: Define OID |
| Дата | |
| Msg-id | 53BD9EA4.6010508@squeakycode.net обсуждение исходный текст |
| Ответ на | Define OID ("frank ernest" <doark@mail.com>) |
| Список | pgsql-general |
On 7/9/2014 2:41 PM, frank ernest wrote: > Hello, I can't seem to find the allowed values for OIDs. > result = PQprepare(parrentcon, insertstmt, insert, 2, /*FIXME*/); > Both arguments are to be of type char * in C and of type varchar(255) in > sql. > I looked in the docs but I can't seem to find where OIDs are enumerated, > please point me in the right direction. > Thanks, David You don't need to specify them if you dont want to. Pass NULL and it'll guess. Did you read the tip just prior to the PQprepare description? http://www.postgresql.org/docs/9.3/static/libpq-exec.html -Andy
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера