Re: PostgreSQL and SSIS - Mailing list pgsql-general

From Dann Corbit
Subject Re: PostgreSQL and SSIS
Date
Msg-id 87F42982BF2B434F831FCEF4C45FC33E4223105E@EXCHANGE.corporate.connx.com
Whole thread Raw
In response to Re: PostgreSQL and SSIS  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
> -----Original Message-----
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-
> owner@postgresql.org] On Behalf Of Craig Ringer
> Sent: Monday, May 23, 2011 11:00 PM
> To: Bailey, Rick
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] PostgreSQL and SSIS
>
> On 24/05/11 04:38, Bailey, Rick wrote:
>
> > On the Windows Server 2008R2 machine, I installed 64 bit Postgres
> ODBC
> > drivers and found that I could not see them when creating an ADO.net
> > connection manager in BIDS.
>
> "BIDS" appears to be the Microsoft "Business Intelligence Development
> Studio," an add-on to Visual Studio 2008. Correct?
>
> http://msdn.microsoft.com/en-us/library/ms173767.aspx
>
> > A bit of googling later, I removed the 64
> > bit drivers and installed 32-bit Postgres ODBC drivers and set up
> DSNs
> > usning windows\SysWOW64\odbcad32.exe.  When setting up the DSNs,
> > clicking the test button returned 'Connection successful'.
>
> Yep, that's the right approach if it's a 32-bit client program. I doubt
> you need to uninstall the 64-bit drivers but it probably won't hurt.
>
> > My question is why can it not return the list of tables, but it can
> > return data.
>
> Honestly, I haven't the foggiest. Without access to BIDS it's kind of
> hard to test.
>
> You're saying this all worked before on a 2k3 (32-bit) server with SQL
> Server 2005 where all the other software was the same. Correct? So the
> _only_ changes are win2k3 -> win2k8 and ms-sql 2005 -> ms-sql 2008?
>
> I'd like to be able to help you, but have never used ADO or ADO.NET in
> my life, and only have a minimal knowledge of ODBC. If I had to debug
> this, I'd be using process monitor to track the low-level activity,
> wireshark to track network chat, and the postgresql server logs (set to
> log all queries) to compare the queries from the old and new clients
> and
> see if anything was different. I'd also be comparing the ODBC DSN
> settings.

You can turn on ODBC tracing, and get a total conversation of all the ODBC calls between BIDS and PostgreSQL's ODBC
driver.
Using the 32 bit ODBC administrator tool, select the tab "Tracing", browse to the log file path that you want to use,
andpress the "Start Tracing" button. 
After the session completes, press the "Stop Tracing Now" button {the "Start Tracing Now" button gets relabeled as
"StopTracing Now" after you press it}. 


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: PostgreSQL and SSIS
Next
From: Nick Raj
Date:
Subject: Re: disable seqscan