Skip site navigation (1) Skip section navigation (2)

[ psqlodbc-Bugs-1000540 ] GenerateBDDirectMethod fails in VS studio 2005 with ODBC

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1000540 ] GenerateBDDirectMethod fails in VS studio 2005 with ODBC
Date: 2006-01-31 20:50:52
Message-ID: 20060131205052.DCFC21033E5A@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-odbc
Bugs item #1000540, was opened at 2006-01-31 15:50
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000540&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Ludek Finstrle (luf)
Summary: GenerateBDDirectMethod fails in VS studio 2005 with ODBC

Initial Comment:
1) i create new table in my databaze
2) I have installed 8.102 odbc driver and update it with latest dll libreries 8.108. 
3)In visual studio a vreated simply database viewer with datagrid wirh ODBC driver.
4) it generate commands for update, select, insert and delete with GenerateBDDirectMethod = true
5)  i added new column to my table and create new select with this new column
6) after this i lost update, insert and delete commands and GenerateBDDirectMethod is now to false and i cant set i to true. But horhers unchanged tables is OK.

Here is SQL select command:
SELECT        "id_list", "zakazka", "nazev", "dat_prijeti", "dat_predani", "predano", "typy", "poznamky", "barva", "kontakt", "faktura"
FROM            "public"."list"

connection string:
Dsn=test;database=test;server=192.168.0.227;port=5432;sslmode=prefer;uid=stoupa;readonly=0;protocol=6.4;fakeoidindex=0;showoidcolumn=0;rowversioning=0;showsystemtables=0;fetch=100;socket=8192;unknownsizes=0;maxvarcharsize=254;maxlongvarcharsize=8190;debug=0;commlog=0;optimizer=1;ksqo=1;usedeclarefetch=0;textaslongvarchar=1;unknownsaslongvarchar=0;boolsaschar=1;parse=0;cancelasfreestmt=0;extrasystableprefixes=dd_;lfconversion=1;updatablecursors=0;disallowpremature=0;trueisminus1=0;bi=0;byteaaslongvarbinary=0;useserversideprepare=0;lowercaseidentifier=0


And here is table scheme:
CREATE TABLE list
(
  id_list int4 NOT NULL DEFAULT nextval('list_id_list_seq'::regclass),
  zakazka varchar(15),
  nazev varchar(45),
  dat_prijeti date,
  dat_predani date,
  typy text,
  poznamky text,
  barva varchar(15),
  kontakt varchar(45),
  predano varchar(10),
  faktura varchar(20),
  CONSTRAINT id_list PRIMARY KEY (id_list)
) 
WITHOUT OIDS;
ALTER TABLE list OWNER TO postgres;

Thats all Jirka

----------------------------------------------------------------------

>Comment By: Ludek Finstrle (luf)
Date: 2006-01-31 21:50

Message:
It would be the best if you send me the compiled minimalistic reproduceable application.

I need at least mylog output. I have to see what's going wrong. Maybe you may enable Parse Statement option (broken in 08.01.0102).

Feel free to contact me direactly via mail in czech ;-)

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000540&group_id=1000125

pgsql-odbc by date

Next:From: Ludek FinstrleDate: 2006-01-31 21:00:08
Subject: Re: ODBC and pgpool
Previous:From: Dado ColussiDate: 2006-01-31 15:54:44
Subject: Latest release of PostgreSQL ODBC driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group