| От | Tom Lane |
|---|---|
| Тема | Re: Coding help |
| Дата | |
| Msg-id | 10802.1068428208@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Coding help (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
| Ответы |
Re: Coding help
|
| Список | pgsql-hackers |
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> ... you can use code comparable to define.c's defGetInt64()
>> to convert the Value node into a numeric OID, ie, either do intVal() or
>> a call of oidin().
> I thought the whole problem here is that OIDs are unsigned ints, hence
> intVal() won't allow the highest OIDs?
Exactly. That's why you need to handle T_Float too. See the int8
example, which has just the same problem.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера