Re: [PATCH] Datatype of OID should be VARBINARY, not INT
В списке pgsql-interfaces по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] Datatype of OID should be VARBINARY, not INT |
| Дата | |
| Msg-id | 8051.961179817@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [PATCH] Datatype of OID should be VARBINARY, not INT (Nissim <nissim@nksystems.com>) |
| Список | pgsql-interfaces |
Nissim <nissim@nksystems.com> writes:
> Tom Lane wrote:
>>
>> Nissim <nissim@nksystems.com> writes:
>>>> The datatype returned by the ResultSetMetaData for OID should be
>>>> VARBINARY, not INT.
>>
>> Uh, why? There's nothing VAR about it that I can see, and it is
>> the same size as INT ... at the moment anyway ...
> If you're using it to identify rows then it is used like an int, but if
> you're using it to point to a Large Object, the LO is variable size
> binary data, right?
The LO may be, but that doesn't make the OID so. I think you are
confusing two things that should be kept separate.
> Will returning VARBINARY as the type of an OID column break anyone elses
> apps?
Undoubtedly. Find another way.
regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера