data type

Поиск
Список
Период
Сортировка
От Ashok Chauhan
Тема data type
Дата
Msg-id 1072889593.14188.19.camel@delta.greatindianproducts.com
обсуждение исходный текст
Список pgsql-admin
hello

how i recognize the data type of any field
except  \d table_name;

there is a function of libpq library for recognize field type
but it returns a number not a name of the data type so how i know the
name with the help of this number.

 recv_interger_number = PQftype(resultant_pointer,field_number);

And this number is same in all versions of postgresql.
suppose:-
in version 7.2  1043 for character & 1083 for varchar so
in version 7.3 is same or not.

Because my requirement is the data type name in string form not in
number's form.

plz. help me
thanks
Ashok



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

Предыдущее
От: Phillip Harrington
Дата:
Сообщение: Re: service postgresql start Fails, Can't su
Следующее
От: "Chris Travers"
Дата:
Сообщение: Re: data type