Re: HELP!! #DEFINE NAMEDATALEN 128 in postgres_ext.h causes

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: HELP!! #DEFINE NAMEDATALEN 128 in postgres_ext.h causes
Дата
Msg-id 3D2A8B50.5AEF4059@tpf.co.jp
обсуждение исходный текст
Ответ на HELP!! #DEFINE NAMEDATALEN 128 in postgres_ext.h causes ODBC-ERROR(s) ??  ("Jochen Westland" <jochen.westland@invigo.de>)
Список pgsql-odbc
> Jochen Westland wrote:
>
> Hi there,
> i am really depressed, and maybe i can get some help from you.
>
> my problem:
> i really urgently need to get a postgres database supporting
> longer table and columnnames working with odbc (and pgadmin),
> and i fail, i fail, i fail ... and i continue to fail ...
>
> ok, system first:
> ***************************************
> Database server:
> mandrake linux 8.1
> Postgres 7.2.1 properly installed from src-rpm
>
> i changed the progres_ext.h as mentioned in maik header to
> support longer identifiers. (#DEFINE NAMEDATALEN 128)

Setting postgres_ext.h is meanless for the ODBC driver.
How can(Why should) the driver see the source file on your
server machine ? The current odbc driver only can handle
NAMEDATALEN=32 databases.
BTW can you compile the driver by youself ?
If so, change MAX_TABLE_LEN and MAX_COLUMN_NAME in
src/interfaces/odbc/psqlodbc.h and build the driver
by youself.

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/



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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: HELP!! #DEFINE NAMEDATALEN 128 in postgres_ext.h causes ODBC-ERROR(s) ??
Следующее
От: Rod Enke
Дата:
Сообщение: Re: [GENERAL] Performance of ODBC-Driver /w IIS5.0/ColdFusion