Search Postgresql Archives

Re: for libpq which include defines the type oids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/11/2007, Samantha Atkins <sjatkins@xxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux