pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Weaver <gweaver@shaw.ca>
To: pgsql-odbc@postgresql.org
To: Rob Richardson <interrobang@yahoo.com>
Subject: Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
Date: Wed, 25 Apr 2012 10:12:03 -0500
Message-ID: <98EDE81FC196430094E58830820A6828@D420> (raw)
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>


>----- Original Message ----- 
>From: Rob Richardson

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

I think you'll find that it is not ADO.Net's OdbcDataAdapter that expands 
the table name, but
the CommandBuilder - I use ADO Net's OdbcDataAdapter extensively without 
problem,
but I write my own OdbcCommands.

George

>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)

Message-ID: <98EDE81FC196430094E58830820A6828@D420>
Permalink:  ../98EDE81FC196430094E58830820A6828@D420/
Also on:    postgresql.org/message-id/98EDE81FC196430094E58830820A6828@D420

 · 

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: gweaver@shaw.ca, interrobang@yahoo.com
  Subject: Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
  In-Reply-To: <98EDE81FC196430094E58830820A6828@D420>
  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> <98EDE81FC196430094E58830820A6828@D420>

* 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