Обсуждение: ODBC type "PG_TYPE_LO_NAME"

Поиск
Список
Период
Сортировка

ODBC type "PG_TYPE_LO_NAME"

От
J Matt Clark
Дата:
Under src/interfaces/odbc, connection.c generates the SQL statement

select oid from pg_type where typname = '" PG_TYPE_LO_NAME"';

and PG_TYPE_LO_NAME is 'lo'

lo does not seem to exist in pg_type.   How/where is it defined, and how is it
used?

Any tips on setting this up?

Thanks,

Matt

Re: ODBC type "PG_TYPE_LO_NAME"

От
Tom Lane
Дата:
J Matt Clark <jmattclark@attbi.com> writes:
> Under src/interfaces/odbc, connection.c generates the SQL statement
> select oid from pg_type where typname = '" PG_TYPE_LO_NAME"';
> and PG_TYPE_LO_NAME is 'lo'
> lo does not seem to exist in pg_type.

That's a hook for supporting the contrib/lo/ package.

            regards, tom lane