Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 748472E0091 for ; Wed, 11 Jun 2008 01:07:07 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 19322-05 for ; Wed, 11 Jun 2008 01:06:40 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by developer.postgresql.org (Postfix) with ESMTP id 8FA6A2E0047 for ; Wed, 11 Jun 2008 01:06:13 -0300 (ADT) Received: by rv-out-0506.google.com with SMTP id b25so3523776rvf.43 for ; Tue, 10 Jun 2008 21:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=KvVsiP1VfN1pIJ2ZMZ/fIKIbsIc5HOxslVisX6rbefg=; b=btHM0e+RVcSdoG6p+1Dq6aM499n3wmUVu9kn+P+bqCRyaxCBq3KtGIKEoRNFHVRVlS yhEpn7J4q+dReH2N1QmtMWwXoYEqXF/1EbN8QSte7nqRTf6Lt4t/gBrGLOCfsmlmrPpe uOk0d/3mpGzmszfNdxTuBq3PNveYpEjV7UoUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=pyIWa2nX6sn54WOZ4xV0Q0VrbveGof9WDym7MaQuWCE/g/EAtcD4uM+ivIRIOVmeQH +zgNDmwo6e0yyVUPbiv6uDNGT7F+s+3Yxj87sZzKAXKxGkAGIpQUgtOo4kBq0VWgIrVt Rg22U/2smXvBWDkGxLZkTwwYOKYg5P2O3/NZI= Received: by 10.141.197.21 with SMTP id z21mr3032545rvp.233.1213157173116; Tue, 10 Jun 2008 21:06:13 -0700 (PDT) Received: by 10.140.165.8 with HTTP; Tue, 10 Jun 2008 21:06:13 -0700 (PDT) Message-ID: <396486430806102106i4915845ag746566c333bdc684@mail.gmail.com> Date: Tue, 10 Jun 2008 21:06:13 -0700 From: "Richard Broersma" To: "PostgreSQL - General ML" , pgsql-odbc@postgresql.org Subject: what gives: SELECT INVALID SELECT STATEMENT TO FORCE ODBC DRIVER TO UNPREPARED STATE MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/329 X-Sequence-Number: 133858 Server logs below. Notice how an error raised in a connection to the proj02u20411 database forces the transaction in the instrumentation database to rollback. Can anyone explain why connections that as far as PG should conserned are unrelated are actually interferring with one another? -------------------------------------------------------------------------------- 2008-06-10 15:04:51instrumentation LOG: statement: BEGIN; INSERT INTO Dev.Tagables( devicecode ) VALUES ( E'PROCESS SWITCH' ) RETURNING tagableid; 2008-06-10 15:04:52instrumentation LOG: statement: INSERT INTO Dev.Instrumentassemblies( partnbr, equipmentnbr, tagableid, devicecode, manufacture, fundedby, purchasedby ) VALUES( E'1140-181-201-D', E'RW-0184-402.02', 1, E'PROCESS SWITCH', E'HAMON RESEARCH COTTRELL', E'02U20410', NULL ); 2008-06-10 15:04:52instrumentation LOG: statement: INSERT INTO Dev.SignalingDevices( tagableid, devicecode ) VALUES( 1, E'PROCESS SWITCH' ); 2008-06-10 15:04:52instrumentation LOG: statement: INSERT INTO Dev.Switches( tagableid, devicecode ) VALUES( 1, E'PROCESS SWITCH' ); 2008-06-10 15:04:52instrumentation LOG: statement: INSERT INTO Dev.Loopcontainment( endprojectnbr, area, pcode, loopnbr, loopsuf, tagableid, instrumentcode, instrumentsuff, startprojectnbr ) VALUES( E'AS-BUILT', 84, E'L', 3117, E'', 1, E'LSL', E'', E'02U20410' ); 2008-06-10 15:04:52instrumentation LOG: statement: INSERT INTO Dev.Tags( instrumentcode, instrumentsuff, area, loopnbr, hasbackup, endprojectnbr, "p&idsection" ) VALUES( E'LSL', E'', 84, 3117, '0', E'AS-BUILT', 14 ); 2008-06-10 15:04:52proj02u20411 LOG: statement: SELECT "rid" ,"mid" ,"pid" FROM "dev"."rtl_tagnr_mat_purch" WHERE ("rid" = NULL) 2008-06-10 15:04:52proj02u20411 LOG: statement: SELECT "itid" ,"itcode" FROM "dev"."insttype" WHERE ("itid" = 58) 2008-06-10 15:04:52proj02u20411 LOG: statement: SELECT "vid" ,"name" FROM "dev"."vendor" WHERE ("vid" = NULL) 2008-06-10 15:04:52proj02u20411 LOG: statement: SELECT "cid" ,"designation" FROM "equ"."component" "CA" WHERE ("cid" = NULL) 2008-06-10 15:04:52proj02u20411 LOG: statement: SELECT "sid" ,"sectno" FROM "docs"."section" WHERE ("sid" = 40) 2008-06-10 15:04:52proj02u20411 LOG: statement: SELECT "cid" ,"designation" FROM "equ"."component" "CB" WHERE ("cid" = NULL) 2008-06-10 15:04:52instrumentation ERROR: syntax error at or near "SELECT" at character 16 2008-06-10 15:04:52instrumentation STATEMENT: SELECT INVALID SELECT STATEMENT TO FORCE ODBC DRIVER TO UNPREPARED STATE 2008-06-10 15:04:52instrumentation LOG: statement: ROLLBACK -- Regards, Richard Broersma Jr. Visit the Los Angles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug