X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id BD9ED9DCA7D for ; Tue, 31 Jan 2006 10:50:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71597-08 for ; Tue, 31 Jan 2006 10:50:26 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 67A6C9DCA36 for ; Tue, 31 Jan 2006 10:50:20 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 0046B1033E5B; Tue, 31 Jan 2006 14:50:25 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 72211-06; Tue, 31 Jan 2006 10:50:24 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id CAEB41033E4A; Tue, 31 Jan 2006 14:50:23 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000540 ] GenerateBDDirectMethod fails in VS studio 2005 with ODBC Content-type: text/plain; charset=UTF-8 Message-Id: <20060131145023.CAEB41033E4A@pgfoundry.org> Date: Tue, 31 Jan 2006 14:50:23 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.718 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.172, NO_REAL_NAME=0.55] X-Spam-Score: -0.718 X-Spam-Level: X-Archive-Number: 200601/311 X-Sequence-Number: 7126 Bugs item #1000540, was opened at 2006-01-31 14: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: Nobody (None) 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 ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000540&group_id=1000125