pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Henrik Krohns <hege@hege.li>
To: pgsql-odbc@postgresql.org
Subject: Re: Crashing with copy_and_convert_field
Date: Tue, 1 Sep 2020 07:36:48 +0300
Message-ID: <20200901043648.GA2161@hege.li> (raw )
In-Reply-To: <20200824144131.GA32577@hege.li >
References: <20200824144131.GA32577@hege.li >
Any developer around?
On Mon, Aug 24, 2020 at 05:41:31PM +0300, Henrik Krohns wrote:
>
> Hello,
>
> I've been trying to get Oracle 18c -> EnterpriseDB 12.4 ODBC connection
> working without success..
>
> Compiled unixODBC 2.3.7 / libpq 12.2 / psqlodbc 12.02 stack for our Oracle
> server, running Solaris 11.4 SPARC.
>
>
> Basic conf:
>
>
> ### ORACLE_HOME/hs/admin/initLINKKITESTI.ora
> HS_FDS_CONNECT_INFO = linkkitesti
> HS_FDS_TRACE_LEVEL = 255
> HS_FDS_SHAREABLE_NAME = /opt/unixODBC/lib/libodbc.so
>
> ### odbc.ini
> [linkkitesti]
> Driver = PostgreSQL
> Database = linkkitesti
> Servername = ppas.server.com
> Port = 5432
> UseDeclareFetch = 1
> Debug = 1
> LowerCaseIdentifier = 1
>
> ### odbcinst.ini
> [PostgreSQL]
> Description = PostgreSQL ODBC driver
> Driver = /opt/unixODBC/lib/psqlodbcw.so
> Setup = /opt/unixODBC/lib/libodbcpsqlS.so
> FileUsage = 1
>
>
> Results in:
>
>
> Connected to:
> Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
> Version 18.11.0.0.0
>
> SQL> create database link linkkitesti connect to "linkkitesti" identified by "xxxx" using 'LINKKITESTI';
>
> Database link created.
>
> SQL> select * from "testitaulu"@linkkitesti;
> select * from "testitaulu"@linkkitesti
> *
> ERROR at line 1:
> ORA-28511: lost RPC connection to heterogeneous remote agent using
> SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
> SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxx)(PORT=1522))
> )(CONNECT_DATA=(SID=LINKKITESTI)))
> ORA-02063: preceding line from LINKKITESTI
>
>
>
> Getting core dump with references to copy_and_convert_field function. The
> test table I have contains nothing but single varchar col with short string.
>
> Here's bunch of odbc/oracle trace files:
>
> https://pastebin.com/RMG5V5vR
> https://pastebin.com/NGtt9hmN
> https://pastebin.com/6Nea2emc
> https://pastebin.com/8qfjsMJw
>
>
> I've tried playing with all sorts of HS_ language settings etc, nothing
> makes a difference. Downgrading way back to psqlodbc-10.03.0000 stops
> crashing, but the query fails anyway with other errors.
>
> Cheers,
> Henrik
>
>
view thread (7+ messages) latest in thread
Message-ID: <20200901043648.GA2161@hege.li>
Permalink: ../20200901043648.GA2161@hege.li/
Also on: postgresql.org/message-id/20200901043648.GA2161@hege.li
copy link · copy postgr.es
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: hege@hege.li
Subject: Re: Crashing with copy_and_convert_field
In-Reply-To: <20200901043648.GA2161@hege.li>
References: <20200824144131.GA32577@hege.li> <20200901043648.GA2161@hege.li>
* 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