Re: ODBC problem

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Simon Emmanuel Rivas <simon-emmanuel(dot)rivas(at)isr(dot)thomson-csf(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ODBC problem
Date: 2001-06-12 02:28:00
Message-ID: 3B257E30.8171C119@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Simon Emmanuel Rivas wrote:
>
> Hi!
>
> I have a problem using the ODBC interface. The problem is quite simple:
> I have created a table with only one field, as follows:
> create table test (key numeric(1));
> Very simple, right? The problem is that, when I look at this table
> through a client program which runs under Windows (postgres runs under
> Linux), the field "key" seems to be declared as numeric(3).
> Does the problem come from ODBC or the client program?

The problem seems to come from the client program.
For example, M$ Access recognizes numeric(1).

regards,
Hiroshi Inoue

In response to

  • ODBC problem at 2001-06-07 08:07:20 from Simon Emmanuel Rivas

Browse pgsql-interfaces by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2001-06-12 13:52:41 Python problem with COPY
Previous Message Vincent Roberts 2001-06-11 19:34:10 Calling lo_open within user defined C function