Thanks, this fixes the problem...
Benoit
----- Original Message -----
From: "Hiroshi Inoue" <Inoue@tpf.co.jp>
To: "Benoit Menendez" <benoitm@pacbell.net>
Cc: <pgsql-odbc@postgresql.org>
Sent: Wednesday, February 06, 2002 9:43 PM
Subject: Re: [ODBC] Problem with ODBC driver and MSP 2002
> > Benoit Menendez wrote:
> >
> > I have created a compatible schema in PostgreSQL for MSP 2002, but I
> > ran into the following error from the ODBC driver:
> >
> > This appears to be a relatively standard (parameterized) update
> > statement:
> >
> > update MSP_PROJECTS
> > set PROJ_READ_COUNT = '0',
> > PROJ_LOCKED = '0',
> > PROJ_READ_WRITE = '1' ,
> > PROJ_READ_ONLY = '1' ,
> > PROJ_MACHINE_ID = ?,
> > PROJ_DATA_SOURCE = 'PostgreMSP'
> > where PROJ_NAME = 'New Product'
> > and (PROJ_READ_COUNT = '0' or PROJ_READ_COUNT IS NULL)
> > and (PROJ_READ_ONLY = '0' or PROJ_READ_ONLY IS NULL)
> >
> > The same query works with SQL Server... And I already tried just about
> > every setting in the driver to see if it made a difference... This is
> > the only error I get with MSP 2002 and I can load save and load
> > projects, but projects I open are read-only because of this bug (I
> > assume).
> >
> > Can you please help? I am using version 7.01.00.09 with PostgreSQL
> > version 7.1.3-2
>
> I've just changed a suspicious place.
> Please try the driver at
> http://w2422.nsk.ne.jp/~inoue/
> and let me know the result.
>
> regards,
> Hiroshi Inoue
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html