pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Gamache <cgg007@yahoo.com>
To: Raymond O'Donnell <rod@iol.ie>
To: pgsql-odbc@postgresql.org
Subject: Re: Transactional objects
Date: Tue, 28 Jan 2003 13:52:25 -0800 (PST)
Message-ID: <20030128215225.64821.qmail@web13805.mail.yahoo.com> (raw)
In-Reply-To: <3E31D45D.2188.916BA1@localhost>

I too would appreciate the ability to use pgsqlODBC inside a COM+ transaction.
The problem lies in the lack of support for "SQL_ATTR_ENLIST_IN_DTC" which,
according to Microsoft, is the connect method used when ADO is used in a COM+
transaction. I don't think that the component HAS to be enlisted in a
Distributed Transaction for it to be in a COM+ transaction. I think it just
needs to respond "No, I will not allow myself to be distributed" when asked. I
looked at the code till my eyes crossed. I couldn't get it to compile, even
without my mods. Hiroshi said that he really didn't have time to impliment this
part of ODBC 3.0. My next thought was to have my company invest some money in 
Hiroshi such that he would have some time to research and impliment this
option. They haven't said "yes" yet. For that matter, neither has Hiroshi! :)
Would your company like to help out? This is how Open Source Software stays
afloat! What a great software model.

CG


--- Raymond O'Donnell <rod@iol.ie> wrote:
> Hello all,
> 
> I'm trying to create a COM+ transactional object that accesses 
> PostgreSQL via ADO via the ODBC driver - this object is to be called 
> by an ASP web application. However, when I mark the object as 
> "transactional" in Win2k's Component Services and then run the app, 
> it crashes with the following error:
> 
> CGVECLogin.LoginChecker (0x8004D00A)
> Unknown connect option (Set)
> /login/checkloggedin.asp, line 7
> 
> Marking the object as "Does not support transactions" cures the 
> problem, but I lose the transaction support which I would really like 
> 
> to have.
> 
> I don't have any way of intercepting the detailed calls from ADO to 
> the Postgres box (the logs generated by the ODBC driver don't seem to 
> 
> show this stuff), so I don't know what exactly is passing between the 
> 
> two.
> 
> Any help or pointers appreciated..........I'm using version 
> 7.02.00.05 of the ODBC driver.
> 
> --Ray.
> 
> -------------------------------------------------------------
> Raymond O'Donnell     http://www.galwaycathedral.org/recitals
> rod@iol.ie                          Galway Cathedral Recitals
> -------------------------------------------------------------
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



view thread (2+ messages)

Message-ID: <20030128215225.64821.qmail@web13805.mail.yahoo.com>
Permalink:  ../20030128215225.64821.qmail@web13805.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030128215225.64821.qmail@web13805.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: cgg007@yahoo.com, rod@iol.ie
  Subject: Re: Transactional objects
  In-Reply-To: <20030128215225.64821.qmail@web13805.mail.yahoo.com>
  References: <3E31D45D.2188.916BA1@localhost> <20030128215225.64821.qmail@web13805.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox