X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F16D19FB2DB for ; Wed, 30 Aug 2006 14:07:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 53984-02-3 for ; Wed, 30 Aug 2006 14:07:15 -0300 (ADT) X-Greylist: delayed 00:06:18.107057 by SQLgrey- Received: from fuse1.mailanyone.net (unknown [69.31.1.141]) by postgresql.org (Postfix) with ESMTP id 86F6D9FB2F2 for ; Wed, 30 Aug 2006 14:06:23 -0300 (ADT) Received: from mailanyone.net by fuse1.mailanyone.net with asmtp (MailAnyone extSMTP kkempter) id 1GITW4-0003l1-CD; Wed, 30 Aug 2006 12:06:16 -0500 Received: from 63.214.184.6 (FuseMail web AccountID 164106) by webmail.fusemail.com with HTTP; Wed, 30 Aug 2006 12:06:16 -0500 (CDT) Message-ID: <1156957576.v2.fusewebmail-164106@f> Date: Wed, 30 Aug 2006 12:06:16 -0500 (CDT) Subject: Re: Oracle HSODBC problems From: "LLC" To: "Joshua D. Drake" ,pgsql-odbc@postgresql.org Reply-To: kevin@kevinkempterllc.com User-Agent: FuseMail W MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.15 tagged_above=0 required=5 tests=AWL, SPF_NEUTRAL, UNPARSEABLE_RELAY, UPPERCASE_25_50 X-Spam-Level: * X-Archive-Number: 200608/162 X-Sequence-Number: 8126 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');