From: LLC <kevin@kevinkempterllc.com>
To: Joshua D. Drake <jd@commandprompt.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Oracle HSODBC problems
Date: Wed, 30 Aug 2006 12:06:16 -0500 (CDT)
Message-ID: <1156957576.v2.fusewebmail-164106@f> (raw)
Hi Joshua;
I do have the database name in the ODBC DSN but it seems to have no
effect. In the below samples, sample 1 works and sample 2 does not.
Thanks for your help
Sample 1:
In PostgreSQL:
CREATE TABLE test_tbl (test_id NUMERIC(10) NOT NULL PRIMARY KEY,
test_name VARCHAR(32));
In PostgreSQL:
INSERT INTO test_tbl VALUES (1, 'From PostgreSQL');
In Oracle over HSODBC:
INSERT INTO "test_tbl"@dblinkname VALUES (2, 'From Oracle');
Sample 2:
In PostgreSQL:
CREATE database testdb;
\c testdb
CREATE TABLE test_tbl (test_id NUMERIC(10) NOT NULL PRIMARY KEY,
test_name VARCHAR(32));
In PostgreSQL:
INSERT INTO testdb.test_tbl VALUES (1, 'From PostgreSQL');
In Oracle over HSODBC:
INSERT INTO "testdb.test_tbl"@dblinkname VALUES (2, 'From Oracle');
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: kevin@kevinkempterllc.com, jd@commandprompt.com
Subject: Re: Oracle HSODBC problems
In-Reply-To: <1156957576.v2.fusewebmail-164106@f>
References: <1156957576.v2.fusewebmail-164106@f>
* 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