Re: psqlODBC text length with no records

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: psqlODBC text length with no records
Дата
Msg-id 5373984B.1010906@aklaver.com
обсуждение исходный текст
Ответ на psqlODBC text length with no records  (Barry Bell <Barry.Bell@hartehanks.com>)
Список pgsql-odbc
On 05/14/2014 09:08 AM, Barry Bell wrote:
> None of the below information helps because we are taking the output cursor
>  From the postgrest sql,  putting it into a VFP grid and displaying to the user.
>
> With theB0(Max varchar)=254 setting, Postgres for lengths 1-254 returns a "char"
>    In vfp, when displayed to the user in a  grid, the value of field is shown
>
> With theB0(Max varchar)=254 setting, Postgres for lengths=0 or null returns a "Memo"
>    In vfp, when displayed to the user in a grid, "Memo" is shown in the field instead of the value
>
> With theB0(Max varchar)=254 setting, Postgres for length over 256 returns a "Memo"
>    In vfp, when displayed to the user in a grid, "Memo" is shown in the field instead of the value
> We only have some code after the sql that sorts the cursor and VFP is unable to sort on the MEMO fields.
>
> Our issue is when Postgres is returning a fireld with 0 or null length,
> The driver is not using the B0(Max varchar) setting.

Meant to add, it might be helpful to turn on logging in the ODBC manager
to see what the driver is actually doing.
>
> Barry Bell


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: psqlODBC text length with no records
Следующее
От: Anna Gershnik
Дата:
Сообщение: Re: psqlODBC msi download for Heartbleed