| От | Christopher Kings-Lynne |
|---|---|
| Тема | Re: Coding help |
| Дата | |
| Msg-id | 3FAEED88.9060807@familyhealth.com.au обсуждение исходный текст |
| Ответ на | Re: Coding help (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Coding help
|
| Список | pgsql-hackers |
>>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. It occurs to me then that I could just then use FloatOnly in the grammar and then just attempt to coerce that to an Oid using oidin? Floats are stored as strings, so that'd be OK, and the oidin function would barf if it was an illegal uint? Chris
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера