Re: Coding help

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Coding help
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Coding help