Re: for libpq which include defines the type oids

Поиск
Список
Период
Сортировка
Искать
От
Pavel Stehule
Тема
Re: for libpq which include defines the type oids
Дата
Msg-id
162867790711052333t4bde0b20r97b8e48969760b19@mail.gmail.com
Ответ на
Список
Дерево обсуждения
safely increase a single column integer value Anton Andreev <fn30762@fmi.uni-sofia.bg>
for libpq which include defines the type oids Samantha Atkins <sjatkins@mac.com>
Re: for libpq which include defines the type oids "Pavel Stehule" <pavel.stehule@gmail.com>
On 06/11/2007, Samantha Atkins  wrote:
> I am probably overlooking something but where exactly are these found
> for inclusion is libpq based programs? Poking around my installation
> doesn't make it obvious.
>
> - samantha
>
>

Get oids dynamically. Use static oids on client part isn't good idea.
They can by changed and than you have to recompile your application.,

postgres=# select 'integer'::regtype::int;
 int4
------
   23
(1 row)

Regards
Pavel Stehule
В списке pgsql-general по дате отправления
От: Samantha Atkins
Дата:
От: rihad
Дата:
FAQ