pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Richardson <interrobang@yahoo.com>
To: Barry Bell <Barry_Bell@harte-hanks.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
Date: Wed, 25 Apr 2012 07:52:40 -0700 (PDT)
Message-ID: <1335365560.94781.YahooMailRC@web83606.mail.sp1.yahoo.com> (raw)
In-Reply-To: <542B943ED5D72E408BF9CBBD61ABC94D52EB6962@VA3DIAXVSC31.RED001.local>
References: <20120425135420.91A461E62E82@mail.postgresql.org>
	<1335362750.25657.YahooMailRC@web83604.mail.sp1.yahoo.com>
	<542B943ED5D72E408BF9CBBD61ABC94D52EB6956@VA3DIAXVSC31.RED001.local>
	<1335363910.22996.YahooMailRC@web83603.mail.sp1.yahoo.com>
	<542B943ED5D72E408BF9CBBD61ABC94D52EB6962@VA3DIAXVSC31.RED001.local>

The issue is that ADO.Net's OdbcDataAdapter object automatically expands the 
table name "MyTable" into "MyDatabase.public.MyTable", and PostgreSQL cannot 
handle that.

In PgAdmin, "insert into cycle (cycle) values ('Another cycle')" succeeds, but 
"insert into Anneal.public.cycle (cycle) values ('Another one')" fails with the 
cross-database references not implemented error.  The OdbcDataAdapter object 
automatically converts a query of the first form into a query of the second 
form, and I want to know how to stop it from doing that.

RobR



view thread (7+ messages)  latest in thread

Message-ID: <1335365560.94781.YahooMailRC@web83606.mail.sp1.yahoo.com>
Permalink:  ../1335365560.94781.YahooMailRC@web83606.mail.sp1.yahoo.com/
Also on:    postgresql.org/message-id/1335365560.94781.YahooMailRC@web83606.mail.sp1.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: interrobang@yahoo.com, Barry_Bell@harte-hanks.com
  Subject: Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
  In-Reply-To: <1335365560.94781.YahooMailRC@web83606.mail.sp1.yahoo.com>
  References: <20120425135420.91A461E62E82@mail.postgresql.org> <1335362750.25657.YahooMailRC@web83604.mail.sp1.yahoo.com> <542B943ED5D72E408BF9CBBD61ABC94D52EB6956@VA3DIAXVSC31.RED001.local> <1335363910.22996.YahooMailRC@web83603.mail.sp1.yahoo.com> <542B943ED5D72E408BF9CBBD61ABC94D52EB6962@VA3DIAXVSC31.RED001.local> <1335365560.94781.YahooMailRC@web83606.mail.sp1.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