Re: [HACKERS] retrieving varchar size

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] retrieving varchar size
Дата
Msg-id 199804231636.MAA26069@candle.pha.pa.us
обсуждение исходный текст
Ответ на retrieving varchar size  (Byron Nikolaidis <byronn@insightdist.com>)
Список pgsql-interfaces
>
> Hello,
>
> I was wondering if it would be possible, in the Postgres backend, to
> send back the defined column size for the varchar data type (and
> possibly the char() type, i.e., bpchar) on a query?  Currently, it just
> sends back -1 for the size, which makes it difficult in the frontend
> (i.e., odbc driver) to determine what the size of the column is.
>

This is kind of tough to do.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size