From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Jochen Westland <jochen.westland@invigo.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: HELP!! #DEFINE NAMEDATALEN 128 in postgres_ext.h causes
Date: Tue, 09 Jul 2002 16:05:52 +0900
Message-ID: <3D2A8B50.5AEF4059@tpf.co.jp> (raw)
References: <001f01c225ff$9893b3a0$1463a8c0@isabella>
> 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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Inoue@tpf.co.jp, jochen.westland@invigo.de
Subject: Re: HELP!! #DEFINE NAMEDATALEN 128 in postgres_ext.h causes
In-Reply-To: <3D2A8B50.5AEF4059@tpf.co.jp>
References: <001f01c225ff$9893b3a0$1463a8c0@isabella> <3D2A8B50.5AEF4059@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox