Re: C where are oids defined?

Поиск
Список
Период
Сортировка
От frank ernest
Тема Re: C where are oids defined?
Дата
Msg-id trinity-f3623c30-e87a-4223-981f-918fe27a620b-1405441192531@3capp-mailcom-lxa07
обсуждение исходный текст
Ответ на C where are oids defined?  ("frank ernest" <doark@mail.com>)
Список pgsql-interfaces
> You can just use NULL for the paramTypes argument, and normally postgres
> will figure out the type and everything will be fine. Specifying the
> types might catch certain kinds of mistakes and might save postgres a
> small amount of work.

I like being type safe whenever possible, it's the first thing you [should] learn in C and one less variable when
debugging.

> For user-defined types, the OID might be different on different servers,
> so it's quite awkward to specify the OID for a user-defined type.

The server is going to be run locally so that's not a problem.

Thanks



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: C where are oids defined?
Следующее
От: Thomas Heller
Дата:
Сообщение: Protocol Question