Oracle - PostgreSQL

I have been asked to look at linking an 11gR2-on-64bit-Linux database to a PostgreSQL 8.4 database (also running on 64-bit Linux), and vice versa. I really don't have much clue where to start, and Google hasn't been of much help.
Am I right in thinking that the "Oracle Database Gateways 11g Release 2 (11.2.0.1.0) for Linux x86-64" is my starting point for making Oracle 'talk to' PostgreSQL? If so, can anyone point me to the relevant doco. I couldn't even find that!
And will the Gateway let the PostgreSQL database select from the Oracle database? Or do I need to do something else to enable that?
Sorry for the clueless-ness. I don't have much idea where to start on this. Any pointers appreciated.

Thanks Aman.
I do find sometimes that it's like trying to get blood out of a stone on these forums! So it's nice when someone like you takes the trouble to reply meaningfully.
For example, it turns out that the only way Oracle can connect to PostgreSQL is using the Generic ODBC connectivity -which is installed with 11gR2 by default and therefore requires no additional downloads from OTN and no additional installs. It would have been nice if someone -anyone!- could have posted that as a simple bit of guidance before I got bogged down in this!
I am very grateful you took the time to find the basic Gateway documentation, however. It turns out, as you say, that it's not actually very useful documentation in these circumstances, but I very much appreciate the link nevertheless, and yes it is helpful in one crucial respect: it does at least contain the one sentence that gave the game away about generic ODBC being the only option for various non-commercial databases!
I discovered that generic ODBC connectivity was already installed after having downloaded the Gateway software (all 600MB+ of it!). When I ran the installer, it offered to "reinstall" that particular driver, which was the clue I needed that no download or extra installation of anything was actually required!
And, in the meantime, I was able to discover this "howto" guide:http://oracleonlinux.wordpress.com/2010/02/04/configuring-oracle-gateway-10-2-for-odbc-for-postgresql/ -which is nearly what I was originally after, though it's for the wrong version of the database and doesn't deal with the fact that hsodbc is 32-bit only, and that the program to use in 11g on 64-bits is dg4odbc instead. But at least it got me started!
Right now, I can use unixODBC's isql program to connect to the remote PostgreSQL database from the Oracle server without a problem. And I've configured my listener to handle dg4odbc calls. And my tnsnames.ora is configured to call out to the PostgreSQL database, so I can tnsping it OK. But... I still can't select from any remote tables! In my log files, I get the error: "Failed to load ODBC library symbol: /usr/lib64/libodbcpsql.so(SQLAllocHandle)", which I believe means that there are 32-bit/64-bit issues. I have yet to resolve those, and it's been the best part of 3 hours' typing and Googling to get even to that stage, so I don't have much hope of it being sorted this side of the weekend!
I am surprised this sort of thing is not documented better (and more up-to-date: 11g has been out for quite a few years now, and hsodbc has been superceded by dg4odbc for as long, after all). There are lots of quality sites out there (Tim Hall's, Orafaq, Eddie Awad and so on and so on) that offer great how-tos and step-by-step walkthroughs for all sorts of interesting database configuration topics, but this sort of connectivity issue doesn't seem to attract the same quality -or quantity!- of attention, which is a shame, I think.
Anyway... thanks for your reply once again. I shall resume the struggle next week, I guess!

Similar Messages

  • Encoding conversion issue on dblink (Oracle - Postgresql)

    I have sucessfully setup a dblink from Oracle to Postgresql.
    The Postgresql database use UTF-8 encoding for all its data.
    When I try this request SELECT * FROM "table"@Postgres , I receive this error :
    ORA-00942: Table ou vue inexistante
    [Generic Connectivity Using ODBC]DRV_DescribeTable: DB_ODBC_RECORD (1093): ; ERREUR:  le caractère 0xc5a1 du codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
    ORA-02063: précédant 2 lines de RECORD
    00942. 00000 -  "table or view does not exist"
    *Cause:   
    *Action:
    Erreur à la ligne 2, colonne 5How can I get rid off of this error ?

    Do you get the same problem for all tables or if you run the select as -The problem is raised only on some tables not all.
    select * from "owner"."tablename"@hsodbc ;On a failing select, adding the "owner" doesn't solve the problem.
    Are there any error sin the trace file and if so could you post them here ?I perform this query : select * from "owner"."table"@POSTGRE
    Here are the traces :
    Oracle Corporation --- MONDAY    FEB 27 2012 16:21:54.959
        Version 10.2.0.1.0
    hoagprd (2): ; hoagprd Entered.
    HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.6.2.0.0070
    HOACONN.C (295): ; Class version: 200
    hoagprd (2): ; hoagprd Exited with retcode = 0.
    hoainit (3): ; hoainit Entered.
    (0): ; connect string is: defTdpName=Postgre;SYNTAX=(ORACLE8_HOA,
    BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",
    CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-
    tasource name='Postgre' type='GENERIC_ODBC_FOR_HS'
    connect='Postgre'><driverProperties/></datasource></datasources><remoteMachines-
    /><environment><optimizer noFlattener='true'/><misc year2000Policy='-1'
    consumerApi='1' sessionBehavior='4'/><queryProcessor parserDepth='2000'
    tokenSize='1000' noInsertParameterization='true'
    noThreadedReadAhead='true'
    noCommandReuse='true'/><debug
    generalTrace='true'/></environment></binding></navobj>
    ORACLE GENERIC GATEWAY Log File Started at 2012-02-27T16:21:54
    hoainit (3): ; hoainit Exited with retcode = 0.
    hoalgon (7): ; hoalgon Entered. name = rec_lct.
    Created new ODBC connection (136751296)
    hoalgon (7): ; hoalgon Exited with retcode = 0.
    hoaulcp (4): ; hoaulcp Entered.
    hoaulcp (4): ; hoaulcp Exited with retcode = 0.
    hoauldt (5): ; hoauldt Entered.
    hoauldt (5): ; hoauldt Exited with retcode = 0.
    hoabegn (9): ; hoabegn Entered. formatID = 306206, hoagttln = 29, hoagttid =
    PDELTAA.286b8407.4.69.1747760, hoagtbln = 10, hoagtbid = ^D, tflag = 0, initial
    = 1
    hoabegn (9): ; hoabegn Exited with retcode = 0.
    hoadtab (26): ; hoadtab Entered. count = 1
    hoadtab (26): ; schema_name = owner, table_name = table
    odbc_owner: select * from "owner"."table"
    DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du codage « UTF8 » n'a
    pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
    DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du
    codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
    Code: 1)
    nvRETURN (drv_priv.c 948): -2202
    hoadtab (26): ; hoadtab Exited with retcode = 0.
    hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
    nvOUT (qp_sqtxt.c 55): SELECT * FROM "owner"."table"
    nvRETURN (qpsynon.c 1140): -1
    odbc_owner: select * from "owner"."table"
    DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du codage « UTF8 » n'a
    pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
    DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du
    codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
    Code: 1)
    nvRETURN (drv_priv.c 948): -2202
    [A00D] Failed to open table Postgre:owner.table
    nvRETURN (qpbldbtn.c 502): -2202
    nvRETURN (qpbldbtn.c 382): -2202
    nvRETURN (qp_seman.c 3153): -2202
    nvRETURN (qp_yacc.c 1930): -2202
    nvRETURN (qp_compl.c 515): -2202
    nvRETURN (qp_compl.c 232): -2202
    nvRETURN (qp_compl.c 200): -2202
    hoapars (15): ; hoapars Exited with retcode = 942.
    hoadtab (26): ; hoadtab Entered. count = 1
    hoadtab (26): ; schema_name = owner, table_name = table
    odbc_owner: select * from "owner"."table"
    DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du codage « UTF8 » n'a
    pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
    DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du
    codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
    Code: 1)
    nvRETURN (drv_priv.c 948): -2202
    hoadtab (26): ; hoadtab Exited with retcode = 0.
    hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
    nvOUT (qp_sqtxt.c 55): SELECT * FROM "owner"."table"
    odbc_rec: select * from "owner"."table"
    DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du codage « UTF8 » n'a
    pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
    DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR:  le caractère 0xc5a1 du
    codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
    Code: 1)
    nvRETURN (drv_priv.c 948): -2202
    [A00D] Failed to open table Postgre:owner.table
    nvRETURN (qpbldbtn.c 502): -2202
    nvRETURN (qpbldbtn.c 382): -2202
    nvRETURN (qp_seman.c 3153): -2202
    nvRETURN (qp_yacc.c 1930): -2202
    nvRETURN (qp_compl.c 515): -2202
    nvRETURN (qp_compl.c 232): -2202
    nvRETURN (qp_compl.c 200): -2202
    hoapars (15): ; hoapars Exited with retcode = 942.

  • Projekt migrate Oracle - Postgresql.

    hello all sorry my english not good.
    Projekt hier in work - migrate 1 oracle db too postgres? Mybe no good question fore here?
    Thank you.
    Nóra

    >
    Projekt hier in work - migrate 1 oracle db too postgres? I had to do a feasibility study for a project I was working on a while ago, so I have
    looked into this.
    Check out
    http://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL
    http://wiki.postgresql.org/wiki/PostgreSQL_for_Oracle_DBAs
    http://wiki.postgresql.org/wiki/Oracle_to_Postgres_Conversion
    I recommend this product
    http://ora2pg.darold.net/
    Forums are here
    http://www.postgresql.org/support/
    And check this out
    http://it.toolbox.com/blogs/oracle-guide/worlds-largest-database-runs-on-postgres-24979
    Mybe no good question fore here?No, it's a fair question - but you would be far* better off going to the PostgreSQL forums
    and asking your questions there - one query (not SQL ;) ) of mine was answered by
    one of the principal developers of the system - and I have to say that his response really
    set the tone for the rest of my project - professional and friendly with a very good product.
    You will have to assess on the basis of your own needs, but while PostgreSQL is
    good, it's not quite an Oracle.
    Paul...
    Nóra

  • DBLink Oracle - PostgreSQL

    Hello,
    any ideas on this type of error?
    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=oradb3)(
    PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=UMAPLINK)))
    ORA-02063: preceding line from UMAPLINK
    Process ID: 870
    Session ID: 272 Serial number: 27677
    is there any thing else you like me to add?

    sorry again it took some time to response
    here is the current situation
    when I do
    SQL> select * from [email protected];
    select * from [email protected]
    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=oradb3)(
    PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=UMAPLINK)))
    ORA-02063: preceding line from UMAPLINK
    Process ID: 31918
    Session ID: 93 Serial number: 83
    here is the trace file
    Oracle Corporation --- FRIDAY JAN 27 2012 09:16:34.880
    Heterogeneous Agent Release
    11.2.0.2.0
    Oracle Corporation --- FRIDAY JAN 27 2012 09:16:34.848
    Version 11.2.0.2.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "UMAPLINK"
    Product-Info:
    Port Rls/Upd:2/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:UMAPLINK
    Exiting hgogprd, rc=0
    hostmstr: 0:      HOA After hoagprd
    hostmstr: 0:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE not specified
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2012/01/27-09:16:35
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0xef0083c0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0xef008450
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0xef008c10
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0xef009e80
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0xef0118f0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0xef011d90
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0xef014590
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0xef015a40
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0xef016240
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0xef017c60
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0xef017c80
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0xef019380
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0xef01c520
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0xef01c8c0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0xef01e360
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0xef01efb0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0xef01f2b0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0xef0210e0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0xef0214b0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0xef022ff0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0xef022e40
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0xef00a4a0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0xef00bc40
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0xef00f550
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0xef0111b0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0xef012920
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0xef0154d0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0xef016b60
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0xef017fd0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0xef0199e0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0xef019ea0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0xef01b080
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0xef01bcc0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0xef01cb00
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0xef01d500
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0xef01dfc0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0xef01f9e0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0xef01fef0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0xef0204a0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0xef020b30
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0xef0217a0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0xef024350
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0xef022b60
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0xef0258f0
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Entered hgolofns at 2012/01/27-09:16:35
    libname=/usr/lib64/libodbc.so, funcname=SQLTables
    symbol_peflctx=0xef026580
    hoaerr:0
    Exiting hgolofns at 2012/01/27-09:16:35
    Exiting hgolofn, rc=0 at 2012/01/27-09:16:35
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2012/01/27-09:16:35
    hostmstr: 0:      HOA After hoainit
    hostmstr: 0:      HOA Before hoalgon
    Entered hgolgon at 2012/01/27-09:16:35
    reco:0, name:content_ro_user, tflag:0
    Entered hgosuec at 2012/01/27-09:16:35
    Exiting hgosuec, rc=0 at 2012/01/27-09:16:35
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using content_ro_user as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/01/27-09:16:35
    HS_FDS_CONNECT_INFO = "UMAPLINK"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/01/27-09:16:35
    dsn:UMAPLINK, name:content_ro_user
    optn:
    Entered hgocip at 2012/01/27-09:16:35
    dsn:UMAPLINK
    Exiting hgocip, rc=0 at 2012/01/27-09:16:35
    ##>Connect Parameters (len=47)<##
    ## DSN=UMAPLINK;
    #! UID=content_ro_user;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/01/27-09:16:35
    Entered hgopoer at 2012/01/27-09:16:35
    hgopoer, line 231: got native error 0 and sqlstate 01000; message follows...
    [unixODBC][Driver Manager]Driver does not support the requested version {01000}
    Exiting hgopoer, rc=0 at 2012/01/27-09:16:35
    hgocont, line 2687: calling SqlDriverConnect got sqlstate 01000
    Entered hgolosf at 2012/01/27-09:16:35
    ODBC Function-Available-Array 0xFFFE 0x00FF 0xFF00 0xFA7F 0x03B2 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xA400 0x114C
    Exiting hgolosf, rc=0 at 2012/01/27-09:16:35
    DriverName:libpsqlodbc.so, DriverVer:07.01.0003
    DBMS Name:PostgreSQL, DBMS Version:07.01.0003 PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6), 64-bit
    Exiting hgocont, rc=0 at 2012/01/27-09:16:35 with error ptr FILE:hgocont.c LINE:2687 FUNCTION:hgocont() ID:SQLDriverConnect
    Entered hgopoer at 2012/01/27-09:16:35
    hgopoer, line 231: got native error 209 and sqlstate HYC00; message follows...
    [unixODBC]Unrecognized key passed to SQLGetInfo. {HYC00,NativeErr = 209}
    Exiting hgopoer, rc=0 at 2012/01/27-09:16:35
    hgolgon, line 804: calling SQLGetInfo got sqlstate HYC00
    SQLGetInfo returns N for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2012/01/27-09:16:35 with error ptr FILE:hgolgon.c LINE:804 FUNCTION:hgolgon() ID:GetInfo: Support catalogs
    hostmstr: 0:      HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Upload Caps
    hostmstr: 0:      HOA Before hoaulcp
    Entered hgoulcp at 2012/01/27-09:16:35
    Entered hgowlst at 2012/01/27-09:16:35
    Exiting hgowlst, rc=0 at 2012/01/27-09:16:35
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0x2
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns N for SQL_COLUMN_ALIAS
    4 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2012/01/27-09:16:35
    hostmstr: 0:      HOA After hoaulcp
    hostmstr: 0: RPC After Upload Caps
    hostmstr: 0: RPC Before Upload DDTR
    hostmstr: 0:      HOA Before hoauldt
    Entered hgouldt at 2012/01/27-09:16:35
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2012/01/27-09:16:35
    hostmstr: 0:      HOA After hoauldt
    hostmstr: 0: RPC After Upload DDTR
    hostmstr: 0: RPC Before Begin Trans
    hostmstr: 0:      HOA Before hoabegn
    Entered hgobegn at 2012/01/27-09:16:35
    tflag:0 , initial:1
    hoi:0x9c9098a8, ttid (len 39) is ...
    00: 55494343 44422E46 494E4445 58412E4E [UICCDB.COM.N]
    10: 45542E35 33656336 6562392E 31312E32 [ET.53ec6eb9.11.2]
    20: 342E3132 343832 [4.12482]
    tbid (len 36) is ...
    00: 55494343 44422E46 494E4445 58412E4E [UICCDB.COM.N]
    10: 45545B31 312E3234 2E313234 38325D5B [ET[11.24.12482][]
    20: 312E345D [1.4]]
    Exiting hgobegn, rc=0 at 2012/01/27-09:16:35
    hostmstr: 0:      HOA After hoabegn
    hostmstr: 0: RPC After Begin Trans
    hostmstr: 0: RPC Before Describe Table
    hostmstr: 0:      HOA Before hoadtab
    Entered hgodtab at 2012/01/27-09:16:35
    count:1
    table: COMPAZ_CONTENT_VW
    Allocate hoada[0] @ 0x143d290
    Free hoada[0] @ 0x143d290
    SQL text from hgodtab, id=0, len=33 ...
    00: 73656C65 6374202A 2066726F 6D202243 [select * from "C]
    10: 4F4D5041 5A5F434F 4E54454E 545F5657 [OMPAZ_CONTENT_VW]
    20: 22 ["]
    Entered hgodscr_process_sellist_description at 2012/01/27-09:16:35

  • "java.sql.SQLException: The url cannot be null"

    Hi,
    I started to use the torque in my last project but when I try to insert new data to the db(i am using MySQL) I get the following error "java.sql.SQLException: The url cannot be null".
    Is that error familiar to anybody ?
    Regards
    RCY

    Hi,
    Sorry for the lack of info.
    1) This is my Torque.properties :
    #  T O R Q U E  P R O P E R T I E S
    #Torque has the ability to use multiple databases. This property
    #specifies which database is to be used as the default
    torque.database.default=rcy
    # Torque has the ability to deal with multiple database systems.
    # This property specifies the database adapter to use.
    torque.database.rcy.adapter=mysql
    #torque.database.jd.rcy=mysql
    # The factory class that will be used to provide database connections.
    torque.dsfactory.rcy.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
    #torque.dsfactory.rcy.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
    # The JDBC database driver to use when connecting to your database.
    torque.dsfactory.rcy.connection.driver org.gjt.mm.mysql.Driver
    # The URL that will be used to access your database. Torque's generated
    # object model will perform all database operations using this URL.
    # This value should reflect the database name specified in your database schema file
    #torque.dsfactory.rcy.connection.url jdbc\:mysql\://localhost\:3306/rcy
    torque.dsfactory.rcy.connection.url jdbc\:mysql\://127.0.0.1\:3306/rcy
    #torque.dsfactory.rcy.connection.user user
    #torque.dsfactory.rcy.connection.password password
    torque.dsfactory.rcy.connection.user chen
    torque.dsfactory.rcy.connection.password 1qazI created the db with torque and then copied the file(Torque.properties ) to my project.
    2) This is my build.properties file :
    # T O R Q U E  C O N F I G U R A T I O N  F I L E
    # This file contains the most commonly used properties. For a
    # a complete list of build properties, please refer to:
    #   http://jakarta.apache.org/turbine/torque/properties-reference.xml
    #  P R O J E C T
    # This is the name of your Torque project. Your non-Java generated
    # files will be named using the project name selected below. If your
    # project=killerapp then you will have a generated:
    #   killerapp-schema.sql
    # The custom is then to also rename your project XML schema from
    # project-schema.xml to killerapp-schema.xml. This is required
    # for a few targets such as datasql, datadump, and datadtd.
    torque.project = rcy
    #  T A R G E T  D A T A B A S E
    # This is the target database, only considered when generating
    # the SQL for your Torque project. Your possible choices are:
    #   axion, cloudscape, db2, db2400, hypersonic, interbase, mssql,
    #   mysql, oracle, postgresql, sapdb, sybase
    torque.database = mysql
    #  O B J E C T  M O D E L  I N F O R M A T I O N
    # These settings will allow you to customize the way your
    # Peer-based object model is created.
    # addGetByNameMethod
    #   If true, Torque adds methods to get database fields by name/position.
    # addIntakeRetrievable
    #   If true, the data objects will implement Intake's Retrievable
    #   interface
    # addSaveMethod
    #   If true, Torque adds tracking code to determine how to save objects.
    # addTimeStamp
    #   If true, Torque true puts time stamps in generated om files.
    # basePrefix
    #   A string to pre-pend to the file names of base data and peer objects.
    # complexObjectModel
    #   If true, Torque generates data objects with collection support and
    #   methods to easily retreive foreign key relationships.
    # targetPackage
    #   Sets the Java package the om files will generated to, e.g.
    #   "com.company.project.om".
    # useClasspath
    #   If true, Torque will not look in the <code>templatePath</code> directory,
    #   for templates, but instead load them from the classpath, allowing you to
    #   use Torque without extracted it from the jar.
    # useManagers
    #   If true, Torque will generate Manager classes that use JCS for caching.
    #   Still considered experimental.
    torque.targetPackage = com.base
    torque.addGetByNameMethod = true
    torque.addIntakeRetrievable = false
    torque.addSaveMethod = true
    torque.addTimeStamp = true
    torque.basePrefix = Base
    torque.complexObjectModel = true
    torque.useClasspath = false
    torque.useManagers = false
    #  D A T A B A S E  S E T T I N G S
    # JDBC connection settings. This is used by the JDBCToXML task that
    # will create an XML database schema from JDBC metadata. These
    # settings are also used by the SQL Ant task to initialize your
    # Torque system with the generated SQL.
    # sameJavaName
    #   If true, the JDBC task will set the javaName attribute for the tables
    #   and columns to be the same as SQL name.
    torque.database.createUrl = jdbc:mysql://127.0.0.1/mysql
    torque.database.buildUrl = jdbc:mysql://127.0.0.1/rcy
    torque.database.url = jdbc:mysql://127.0.0.1/rcy
    torque.database.driver = org.gjt.mm.mysql.Driver
    torque.database.user = chen
    torque.database.password = 1qaz
    torque.database.host = 127.0.0.1
    torque.sameJavaName = falseI hope that will help you to help me :)
    Thank's

  • ODI upgrade master repository 10.1.3.5.0 - 10.1.3.6.1

    Hello,
    i am facing problem with upgrade of master repository ODI 10.1.3.5.0 -> 10.1.3.6.1 odi_patch_10.1.3.6.1 (p9377717_101360_Generic)
    i followed steps as described in upgrade procedure (Remove the content of the oracledi/lib/scripts/ sub-directory your Oracle Data Integrator installation directory.
    Copy the content of the oracledi sub-directory of the temporary directory to your Oracle Data Integrator installation directory. The temporary directory content should overwrite the Oracle Data Integrator installation directory content.)
    when running upgrade script (./mupgrade.sh) there is NO ORACLE Technologies appearing in the wizard....
    only Hypersonic SQL and Informix left
    same in Windows XP and Linux.....

    i just downloaded and unpacked odi_patch_10.1.3.6.1 (p9377717_101360_Generic.zip) from support.oracle.com
    how can i check? there is the structure of the patch
    bin
    demo
    doc
    drivers
    impexp
    lib
    tools
    ./bin:
    startcmd.bat
    ./demo:
    xml
    ./demo/xml:
    personal.xsd
    ./doc:
    index_km.htm
    km
    webhelp
    ./doc/km:
    odiafm_93110_readme.pdf
    odiap_93110_readme.pdf
    odiess_readme.pdf
    odiess_users.pdf
    odigs_sapabapbw.pdf
    odigs_sapabap.pdf
    odi_km_ref_guide v1.3.pdf
    ./doc/webhelp:
    en
    ./doc/webhelp/en:
    index.hhc
    index.hhk
    printable
    ref_tools
    release_snps.htm
    setup
    usermanual
    whgdata
    whxdata
    ./doc/webhelp/en/printable:
    snps_ref_tools.pdf
    snps_setup.pdf
    snps_users.pdf
    ./doc/webhelp/en/ref_tools:
    odiftpget.htm
    odiftpput.htm
    odiscpget.htm
    odiscpput.htm
    odisftpget.htm
    odisftpput.htm
    snpsfiledelete.html
    ./doc/webhelp/en/setup:
    setup.htm
    sunopsis.log
    ./doc/webhelp/en/usermanual:
    technos
    ./doc/webhelp/en/usermanual/technos:
    how_to.htm
    jms
    jms_xml
    ./doc/webhelp/en/usermanual/technos/jms:
    creating_a_jms_data_server.htm
    creating_a_physical_schema_for_jms.htm
    defining_a_jms_model.htm
    choosing_the_right_kms_for_jms.htm
    jms_standard_properties.htm
    using_jms_properties.htm
    ./doc/webhelp/en/usermanual/technos/jms_xml:
    creating_a_jms_xml_data_server.htm
    creating_and_reverse-engineering_a_jms_xml_model.htm
    creating_a_physical_schema_for_jms_xml.htm
    choosing_the_right_kms_for_jms_xml.htm
    ./doc/webhelp/en/whgdata:
    whlstfl0.htm
    whlstfl11.htm
    whlstfl16.htm
    whlstfl18.htm
    whlstfl20.htm
    whlstfl21.htm
    whlstfl22.htm
    whlstfl23.htm
    whlstfl24.htm
    whlstfl25.htm
    whlstfl26.htm
    whlstfl3.htm
    whlstfl4.htm
    whlstfl7.htm
    whlstfl8.htm
    whlstf0.htm
    whlstf1.htm
    whlstf10.htm
    whlstf11.htm
    whlstf12.htm
    whlstf13.htm
    whlstf14.htm
    whlstf15.htm
    whlstf16.htm
    whlstf17.htm
    whlstf18.htm
    whlstf19.htm
    whlstf2.htm
    whlstf20.htm
    whlstf21.htm
    whlstf22.htm
    whlstf23.htm
    whlstf24.htm
    whlstf25.htm
    whlstf26.htm
    whlstf27.htm
    whlstf28.htm
    whlstf29.htm
    whlstf3.htm
    whlstf30.htm
    whlstf31.htm
    whlstf32.htm
    whlstf33.htm
    whlstf34.htm
    whlstf35.htm
    whlstf36.htm
    whlstf37.htm
    whlstf38.htm
    whlstf39.htm
    whlstf4.htm
    whlstf40.htm
    whlstf41.htm
    whlstf42.htm
    whlstf43.htm
    whlstf44.htm
    whlstf45.htm
    whlstf46.htm
    whlstf47.htm
    whlstf48.htm
    whlstf49.htm
    whlstf5.htm
    whlstf50.htm
    whlstf51.htm
    whlstf52.htm
    whlstf53.htm
    whlstf54.htm
    whlstf55.htm
    whlstf56.htm
    whlstf57.htm
    whlstf58.htm
    whlstf59.htm
    whlstf6.htm
    whlstf60.htm
    whlstf61.htm
    whlstf62.htm
    whlstf63.htm
    whlstf64.htm
    whlstf65.htm
    whlstf66.htm
    whlstf67.htm
    whlstf68.htm
    whlstf69.htm
    whlstf7.htm
    whlstf70.htm
    whlstf71.htm
    whlstf72.htm
    whlstf8.htm
    whlstf9.htm
    whlsti0.htm
    whlsti1.htm
    whlsti2.htm
    whlstt0.htm
    whlstt1.htm
    whlstt10.htm
    whlstt100.htm
    whlstt101.htm
    whlstt102.htm
    whlstt103.htm
    whlstt104.htm
    whlstt11.htm
    whlstt12.htm
    whlstt13.htm
    whlstt14.htm
    whlstt15.htm
    whlstt16.htm
    whlstt17.htm
    whlstt18.htm
    whlstt19.htm
    whlstt2.htm
    whlstt20.htm
    whlstt21.htm
    whlstt22.htm
    whlstt23.htm
    whlstt24.htm
    whlstt25.htm
    whlstt26.htm
    whlstt27.htm
    whlstt28.htm
    whlstt29.htm
    whlstt3.htm
    whlstt30.htm
    whlstt31.htm
    whlstt32.htm
    whlstt33.htm
    whlstt34.htm
    whlstt35.htm
    whlstt36.htm
    whlstt37.htm
    whlstt38.htm
    whlstt39.htm
    whlstt4.htm
    whlstt40.htm
    whlstt41.htm
    whlstt42.htm
    whlstt43.htm
    whlstt44.htm
    whlstt45.htm
    whlstt46.htm
    whlstt47.htm
    whlstt48.htm
    whlstt49.htm
    whlstt5.htm
    whlstt50.htm
    whlstt51.htm
    whlstt52.htm
    whlstt53.htm
    whlstt54.htm
    whlstt55.htm
    whlstt56.htm
    whlstt57.htm
    whlstt58.htm
    whlstt59.htm
    whlstt6.htm
    whlstt60.htm
    whlstt61.htm
    whlstt62.htm
    whlstt63.htm
    whlstt64.htm
    whlstt65.htm
    whlstt66.htm
    whlstt67.htm
    whlstt68.htm
    whlstt69.htm
    whlstt7.htm
    whlstt70.htm
    whlstt71.htm
    whlstt72.htm
    whlstt73.htm
    whlstt74.htm
    whlstt75.htm
    whlstt76.htm
    whlstt77.htm
    whlstt78.htm
    whlstt79.htm
    whlstt8.htm
    whlstt80.htm
    whlstt81.htm
    whlstt82.htm
    whlstt83.htm
    whlstt84.htm
    whlstt85.htm
    whlstt86.htm
    whlstt87.htm
    whlstt88.htm
    whlstt89.htm
    whlstt9.htm
    whlstt90.htm
    whlstt91.htm
    whlstt92.htm
    whlstt93.htm
    whlstt94.htm
    whlstt95.htm
    whlstt96.htm
    whlstt97.htm
    whlstt98.htm
    whlstt99.htm
    ./doc/webhelp/en/whxdata:
    whftdata0.xml
    whftdata1.xml
    whftdata2.xml
    whftdata3.xml
    whfts.xml
    whfwdata0.xml
    whfwdata1.xml
    whfwdata10.xml
    whfwdata11.xml
    whfwdata12.xml
    whfwdata13.xml
    whfwdata14.xml
    whfwdata15.xml
    whfwdata16.xml
    whfwdata17.xml
    whfwdata18.xml
    whfwdata19.xml
    whfwdata2.xml
    whfwdata20.xml
    whfwdata21.xml
    whfwdata22.xml
    whfwdata23.xml
    whfwdata24.xml
    whfwdata25.xml
    whfwdata26.xml
    whfwdata27.xml
    whfwdata28.xml
    whfwdata29.xml
    whfwdata3.xml
    whfwdata30.xml
    whfwdata31.xml
    whfwdata32.xml
    whfwdata4.xml
    whfwdata5.xml
    whfwdata6.xml
    whfwdata7.xml
    whfwdata8.xml
    whfwdata9.xml
    whidata0.xml
    whidata1.xml
    whidata2.xml
    whidata3.xml
    whidata4.xml
    whidata5.xml
    whidata6.xml
    whidx.xml
    whtdata0.xml
    whtdata7.xml
    ./drivers:
    ess_es_server.jar
    ess_japi.jar
    HFMDriver.dll
    HFMDriver64.dll
    odihapp_common.jar
    odihapp_essbase.jar
    odi_hfm.jar
    odi-sap.jar
    snpsfile.jar
    snpsxmlo.jar
    ./impexp:
    GAC_Hypersonic SQL Default.xml
    GAC_Informix Default.xml
    KM_CKM Teradata.xml
    KM_IKM File to Teradata (TTU).xml
    KM_IKM Oracle Slowly Changing Dimension.xml
    KM_IKM SQL to Hyperion Essbase (DATA).xml
    KM_IKM SQL to Teradata (TTU).xml
    KM_IKM Teradata Control Append.xml
    KM_JKM DB2 400 Simple (Journal).xml
    KM_JKM Oracle to Oracle Consistent (OGG).xml
    KM_LKM DB2_400 Journal to SQL .xml
    KM_LKM File to Netezza (NZLOAD).xml
    KM_LKM File to Oracle (SQLLDR).xml
    KM_LKM File to Teradata (TTU).xml
    KM_LKM MSSQL to Oracle (BCPSQLLDR).xml
    KM_LKM SQL to Teradata (TTU).xml
    KM_RKM MSSQL.xml
    KM_RKM Oracle Olap (Jython).xml
    KM_RKM Oracle.xml
    KM_ RKM Salesforce.com.xml
    KM_RKM Teradata.xml
    LANG_SQL.xml
    PROF_DESIGNER.xml
    PROF_METADATA ADMIN.xml
    PROF_NG DESIGNER.xml
    PROF_NG METADATA ADMIN.xml
    PROF_NG REPOSITORY EXPLORER.xml
    PROF_NG VERSION ADMIN.xml
    PROF_OPERATOR.xml
    PROF_REPOSITORY EXPLORER.xml
    PROF_SECURITY ADMIN.xml
    PROF_TOPOLOGY ADMIN.xml
    PROF_VERSION ADMIN.xml
    TECH_Attunity.xml
    TECH_BTrieve.xml
    TECH_DBase.xml
    TECH_Derby.xml
    TECH_File.xml
    TECH_Generic SQL.xml
    TECH_Hyperion Essbase.xml
    TECH_Hyperion Financial Management.xml
    TECH_Hyperion Planning.xml
    TECH_Hypersonic SQL.xml
    TECH_IBM DB2 UDB.xml
    TECH_IBM DB2400.xml
    TECH_Informix.xml
    TECH_Ingres.xml
    TECH_Interbase.xml
    TECH_JMS Queue.xml
    TECH_JMS Queue XML.xml
    TECH_JMS Topic.xml
    TECH_JMS Topic XML.xml
    TECH_LDAP.xml
    TECH_Microsoft Access.xml
    TECH_Microsoft Excel.xml
    TECH_Microsoft SQL Server.xml
    TECH_MySQL.xml
    TECH_Netezza.xml
    TECH_Operating System.xml
    TECH_Oracle BAM.xml
    TECH_Oracle.xml
    TECH_Paradox.xml
    TECH_PostgreSQL.xml
    TECH_Progress.xml
    TECH_Salesforce.com.xml
    TECH_SAP ABAP.xml
    TECH_SAP Java Connector.xml
    TECH_SAS.xml
    TECH_Sunopsis Engine.xml
    TECH_Sybase AS Anywhere.xml
    TECH_Sybase AS Enterprise.xml
    TECH_Sybase AS IQ.xml
    TECH_Teradata.xml
    TECH_Universe.xml
    TECH_XML.xml
    ./lib:
    scripts
    snpshelp.zip
    snpsws.zip
    sunopsis.zip
    ./lib/scripts:
    DERBY
    HYPERSONIC_SQL
    IBM_DB2_UDB
    IBM_DB2_400
    INFORMIX
    MICROSOFT_SQL_SERVER
    ORACLE
    POSTGRESQL
    SYBASE_AS_ANYWHERE
    SYBASE_AS_ENTERPRISE
    SYBASE_AS_IQ
    xml
    ./lib/scripts/DERBY:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/DERBY/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/HYPERSONIC_SQL:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/HYPERSONIC_SQL/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/IBM_DB2_UDB:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/IBM_DB2_UDB/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/IBM_DB2_400:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/IBM_DB2_400/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/INFORMIX:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/INFORMIX/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/MICROSOFT_SQL_SERVER:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/MICROSOFT_SQL_SERVER/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/ORACLE:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/ORACLE/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/POSTGRESQL:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/POSTGRESQL/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/SYBASE_AS_ANYWHERE:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/SYBASE_AS_ANYWHERE/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/SYBASE_AS_ENTERPRISE:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/SYBASE_AS_ENTERPRISE/patches:
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/SYBASE_AS_IQ:
    E_CREATE.xml
    E_DROP.xml
    M_CREATE.xml
    M_DROP.xml
    patches
    W_CREATE.xml
    W_DROP.xml
    ./lib/scripts/SYBASE_AS_IQ/patches:
    E_CREATE.xml
    E_DROP.xml
    E_04.02.02.01_04.02.03.01.xml
    E_300101.xml
    E_300101_300102.xml
    E_300102_300103.xml
    E_300103_300104.xml
    E_300104_310101.xml
    E_310101_320301.xml
    E_320301_400101.xml
    E_400101_410101.xml
    E_410101_410201.xml
    E_410201_420101.xml
    E_420101_420201.xml
    M_CREATE.xml
    M_DROP.xml
    M_04.02.02.01_04.02.03.01.xml
    M_300101.xml
    M_300101_300102.xml
    M_300102_300103.xml
    M_300103_300104.xml
    M_300104_300105.xml
    M_300105_310101.xml
    M_310101_310201.xml
    M_310201_320301.xml
    M_320301_400101.xml
    M_400101_410101.xml
    M_410101_410201.xml
    M_410201_420101.xml
    M_420101_420201.xml
    W_CREATE.xml
    W_DROP.xml
    W_04.02.02.01_04.02.03.01.xml
    W_300101.xml
    W_300101_300102.xml
    W_300102_300103.xml
    W_300103_310101.xml
    W_310101_310201.xml
    W_310201_320301.xml
    W_320301_400101.xml
    W_400101_410101.xml
    W_410101_410201.xml
    W_410201_420101.xml
    W_420101_420201.xml
    ./lib/scripts/xml:
    CONN_SecurityConnection.xml
    CONVDT_CONVDATATYPESLST.xml
    DT_DATATYPESLST.xml
    FIELD_FIELD_LST.xml
    FLOOK_LOOKUP_LST.xml
    LANG_SQL.xml
    LOCREP_MASTERREPOSITORY.xml
    OBJ_Column.xml
    OBJ_DataServer.xml
    OBJ_Datastore.xml
    OBJ_Model.xml
    OBJ_OBJ_SNPOPENTOOL_7800.xml
    OBJ_OBJ_SNPSCENFOLDER_7700.xml
    OBJ_Solution.xml
    PROF_DESIGNER.xml
    PROF_METADATAADMIN.xml
    PROF_NGDESIGNER.xml
    PROF_NGMETADATAADMIN.xml
    PROF_NGREPOSITORYEXPLORER.xml
    PROF_NGVERSIONADMIN.xml
    PROF_OPERATOR.xml
    PROF_REPOSITORYEXPLORER.xml
    PROF_SECURITYADMIN.xml
    PROF_TOPOLOGYADMIN.xml
    PROF_VERSIONADMIN.xml
    TECH_Attunity.xml
    TECH_File.xml
    TECH_HyperionEssbase.xml
    TECH_HyperionFinancialManagement.xml
    TECH_HypersonicSQL.xml
    TECH_Informix.xml
    TECH_SAPABAP.xml
    TECH_SAPJavaConnector.xml
    TECH_SAS.xml
    ./tools:
    cdc_iseries
    web_services
    ./tools/cdc_iseries:
    SAVPGM0110
    ./tools/web_services:
    odi-public-ws.aar

  • Supporting 4 DBMS

    hello everybody:
    i am building an application supporting 4 DBMS(mysql, oracle, postgreSQL and MS-SQL), i need to find a standard field for store the date and the time no matter what DBMS i am using for it.
    note: i do not want to use varchar or long field.
    thank you
    edsadr

    i have some problem using Timestamp, first i wrote a
    method for format the date and return a String for
    insert into Timestamp field in mysql i can store
    yyyymmddhhmmss but i can not insert this in postgreSQL
    because when i examine the table the timestamp field
    size is 8 and in mysql is 14....
    can you tell me what is wrong??? Instead of formatting the date and using setString use setTimeStamp.
    setTimestamp(anIndex, new Timestamp( aDateValue));

  • [Oracle to PostgreSQL]connction string lacks some options

    Hi guys,
    I want to connect from oracle 11g to PostgreSQL 9.3 . l get this error message:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC]connction string lacks some options {08001,NativeErr = 202}
    ORA-02063: preceding 2 lines from k
    but I can connected to PostgreSQL using isql.
    Oracle CharacterSet :AL32UTF8
    PostgreSQL server_encoding:UTF8
    PostgreSQL client_encoding:UTF8
    Here are my configuration files:
    odbc.ini:
    [PostgreSQL]
    Driver = /usr/local/pgsqlodbc/lib/psqlodbcw.so
    Description = Test2PG
    Servername = 192.168.0.1
    PORT = 5432
    Protocol = 9.3
    UserName = postgres
    Password = postgres
    Database = testdb
    TRACE =Yes
    TaceFile = /tmp/sql.log
    tnsnames.ora:
    PostgreSQL =
    (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.10)(PORT = 1521))
       (CONNECT_DATA =(SID = PostgreSQL)
      (HS =OK)
    listener.ora:
    SID_LIST_LISTENER=
      (SID_LIST=
        (SID_DESC=
          (SID_NAME=PostgreSQL)
          (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
          (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
          (PROGRAM=dg4odbc)
    initiPostgreSQL.ora:
    HS_FDS_CONNECT_INFO = PostgreSQL
    HS_FDS_TRACE_LEVEL = 255
    HS_FDS_SHAREABLE_NAME = /usr/local/unixodbc/lib/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
    set ODBCINI=/etc/odbc.ini
    Trace:
    Oracle Corporation --- THURSDAY  MAY 15 2014 15:59:19.875
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- THURSDAY  MAY 15 2014 15:59:19.874
        Version 11.2.0.3.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "PostgreSQL"
    Product-Info:
      Port Rls/Upd:3/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:PostgreSQL
    Exiting hgogprd, rc=0
    hostmstr:          0: HOA After hoagprd
    hostmstr:          0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P1
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2014/05/15-15:59:19
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixodbc/lib/libodbc.so"
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0x522520
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0x5226c0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0x523110
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0x524930
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0x52e120
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0x52e670
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0x531b50
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0x5336b0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0x534070
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0x5361e0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0x536210
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0x537fd0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0x53bc40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0x53c040
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0x53e0d0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0x53f030
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0x53f3f0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0x541a40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0x541f30
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0x5447f0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0x544570
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLColAttribute
    symbol_peflctx=0x5254a0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLColumns
    symbol_peflctx=0x527280
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLConnect
    symbol_peflctx=0x52b600
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDescribeCol
    symbol_peflctx=0x52d8c0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLDriverConnect
    symbol_peflctx=0x52f420
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLExecDirect
    symbol_peflctx=0x532ff0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLForeignKeys
    symbol_peflctx=0x534bc0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetConnectAttr
    symbol_peflctx=0x536670
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDescField
    symbol_peflctx=0x538800
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDescRec
    symbol_peflctx=0x538ea0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDiagField
    symbol_peflctx=0x53a350
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetDiagRec
    symbol_peflctx=0x53b220
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetInfo
    symbol_peflctx=0x53cbd0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetStmtAttr
    symbol_peflctx=0x53cf60
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLGetTypeInfo
    symbol_peflctx=0x53dc40
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPrepare
    symbol_peflctx=0x53fce0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLPrimaryKeys
    symbol_peflctx=0x540340
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLProcedureColumns
    symbol_peflctx=0x540ae0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLProcedures
    symbol_peflctx=0x541300
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetConnectAttr
    symbol_peflctx=0x542270
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetStmtAttr
    symbol_peflctx=0x546050
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLSetDescField
    symbol_peflctx=0x5440d0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLStatistics
    symbol_peflctx=0x548140
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Entered hgolofns at 2014/05/15-15:59:19
    libname=/usr/local/unixodbc/lib/libodbc.so, funcname=SQLTables
    symbol_peflctx=0x5491b0
    hoaerr:0
    Exiting hgolofns at 2014/05/15-15:59:19
    Exiting hgolofn, rc=0 at 2014/05/15-15:59:19
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2014/05/15-15:59:19
    hostmstr:          0: HOA After hoainit
    hostmstr:          0: HOA Before hoalgon
    Entered hgolgon at 2014/05/15-15:59:19
    reco:0, name:postgres, tflag:0
    Entered hgosuec at 2014/05/15-15:59:19
    Exiting hgosuec, rc=0 at 2014/05/15-15:59:19
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using postgres as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2014/05/15-15:59:19
    HS_FDS_CONNECT_INFO = "PostgreSQL"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2014/05/15-15:59:19
    dsn:PostgreSQL, name:postgres
    optn:
    Entered hgocip at 2014/05/15-15:59:19
    dsn:PostgreSQL
    Exiting hgocip, rc=0 at 2014/05/15-15:59:19
    ##>Connect Parameters (len=40)<##
    ## DSN=PostgreSQL;
    #! UID=postgres;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2014/05/15-15:59:19
    Entered hgopoer at 2014/05/15-15:59:19
    hgopoer, line 231: got native error 202 and sqlstate 08001; message follows...
    [unixODBC]connction string lacks some options {08001,NativeErr = 202}
    Exiting hgopoer, rc=0 at 2014/05/15-15:59:19
    hgocont, line 2754: calling SqlDriverConnect got sqlstate 08001
    Exiting hgocont, rc=28500 at 2014/05/15-15:59:19 with error ptr FILE:hgocont.c LINE:2774 FUNCTION:hgocont() ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2014/05/15-15:59:19 with error ptr FILE:hgolgon.c LINE:801 FUNCTION:hgolgon() ID:Calling hgocont
    hostmstr:          0: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr:          0: RPC Before Exit Agent
    hostmstr:          0: HOA Before hoaexit
    Entered hgoexit at 2014/05/15-15:59:19
    Exiting hgoexit, rc=0
    hostmstr:          0: HOA After hoaexit
    hostmstr:          0: RPC After Exit Agent
    ODBC Trace:
    [ODBC][6580][1400140759.882270][SQLSetConnectAttr.c][396]
      Entry:
      Connection = 0x90bd960
      Attribute = SQL_ATTR_AUTOCOMMIT
      Value = (nil)
      StrLen = -5
    [ODBC][6580][1400140759.882326][SQLSetConnectAttr.c][671]
      Exit:[SQL_SUCCESS]
    [ODBC][6580][1400140759.882642][SQLDriverConnect.c][728]
      Entry:
      Connection = 0x90bd960
      Window Hdl = (nil)
      Str In = [DSN=PostgreSQL;UID=postgres;PWD=********][length = 40]
      Str Out = 0x90bd200
      Str Out Max = 1024
      Str Out Ptr = 0xbfd1e25c
      Completion = 0
      UNICODE Using encoding ASCII 'ANSI_X3.4-1968' and UNICODE 'UCS-2LE'
      DIAG [08001] connction string lacks some options
    [ODBC][6580][1400140759.887954][SQLDriverConnect.c][1454]
      Exit:[SQL_ERROR]
    [ODBC][6580][1400140759.888032][SQLGetDiagRec.c][680]
      Entry:
      Connection = 0x90bd960
      Rec Number = 1
      SQLState = 0xbfd1df58
      Native = 0xbfd1df7c
      Message Text = 0xbfd1dd20
      Buffer Length = 510
      Text Len Ptr = 0xbfd1df94
    [ODBC][6580][1400140759.888065][SQLGetDiagRec.c][717]
      Exit:[SQL_SUCCESS]
      SQLState = 08001
      Native = 0xbfd1df7c -> 202
      Message Text = [[unixODBC]connction string lacks some options]
    [ODBC][6580][1400140759.888108][SQLGetDiagRec.c][680]
      Entry:
      Connection = 0x90bd960
      Rec Number = 2
      SQLState = 0xbfd1df58
      Native = 0xbfd1df7c
      Message Text = 0xbfd1dd20
      Buffer Length = 510
      Text Len Ptr = 0xbfd1df94
    [ODBC][6580][1400140759.888136][SQLGetDiagRec.c][717]
      Exit:[SQL_NO_DATA]
    [ODBC][6580][1400140759.888222][SQLDisconnect.c][208]
      Entry:
      Connection = 0x90bd960
    [ODBC][6580][1400140759.888250][SQLDisconnect.c][237]Error: 08003
    [ODBC][6580][1400140759.888319][SQLFreeHandle.c][284]
      Entry:
      Handle Type = 2
      Input Handle = 0x90bd960
    [ODBC][6580][1400140759.888352][SQLFreeHandle.c][333]
      Exit:[SQL_SUCCESS]
    [ODBC][6580][1400140759.889499][SQLFreeHandle.c][219]
      Entry:
      Handle Type = 1
      Input Handle = 0x90abf70
    Thank you.

    When looking at the strace file the Driver Manager tries to load the odbc.ini you specified in your gateway init file: set ODBCINI=/etc/odbc.ini
    but that fails as the oracle user can not access it - instead it tries to load a different file:
    17811 open("/etc/odbc.ini", O_WRONLY|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied)
    17811 open("/usr/local/unixodbc/etc/odbc.ini", O_RDONLY) = 8
    Could you please make sure that the oracle user can access that file?
    You also mentioned at the beginning that you could connect to the Postgres database using isql - did you do the test as "oracle" user and what ENV parameters have you set before opening isql?
    Just a minor issue which has no impact as your LD_LIBRARY_PATH in the environment is set correctly - the listener.ora file contains the line
    (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
    but EVNS should be ENVS or even better ENV. So please correct:
    (EVNS=LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin)
    to
    (ENV="LD_LIBRARY_PATH=/usr/local/unixodbc/lib:/usr/local/pgsqlodbc/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin")
    Then stop and start the listener.
    - Klaus

  • Oracle 10g BLOB data into Postgresql 8.2

    Any Docs on Oracle 10g BLOB importing into Postgresql 8.2.
    Thanks in Advance.
    Harish Kumar R

    Postgresql is not an Oracle product. Perhaps you should address your question to the people that make it.

  • Array data type in oracle like postgreSQL

    Do we have any datatype to store array information in oracle like we have in postegreSQL database ? Because I am going to migrate my postgresql database to oracle. Can anyone of you help me on this please?
    Thanks in advance for your help!
    Thanks

    There are several collection types available in Oracle such as associative array or index-by table, varray, and nested table. In addition nested table types may be stored in a database column.
    You might find the following link helpful:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e25519/composites.htm#CIHIEBJC

  • Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables

    Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
    However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from “my_table”).
    The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. I’ve done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
    The problem appears both with ANSI and UNICODE PostgreSQL drivers.
    Any suggestion of how workaround this problem?
    thanks in advance,
    Raoni

    Dear all,
    I’ve tried different tracing levels with out success. The log file does not seem to be created by Oracle.
    Looking closer to the debug and comm logs from the driver 8.01.0200, I’ve found out that the problem was generated after a table wasn’t found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error “ERROR: current transaction is aborted, commands ignored until end of transaction block”. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
    Following the Postgres odbc developers suggestion, I’ve installed the psqlODBC v 08.02.0002 and I’ve got a completely different result.
    As before, the simple query “select * from my_table@hsodbc” returns the result using SQL*Plus clearly faster than before.
    Doing the query “select * from all_tables@hsodbc” the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
    Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
    Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: “can’t read from memory address XXXXX”
    All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
    To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldn’t see any table as before and doing Select * from all_tables@hsodbc we’ve got the message:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]
    ORA-02063: preceding 2 lines from HSPG
    no rows selected
    On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
    The encoding for all DBs is UTF8.
    Any ideas of where could be the problem?
    regards,
    R.

  • Oracle to POstgresql db link not working (error diagnosed by Net8)

    [oracle@devdb00 ~]$ cat /home/oracle/temp/psqlodbc-09.02.0100/test/odbc.ini
    [postgresql]
    Description             = psqlodbc regression test DSN
    Driver                                  = /usr/lib64/psqlodbcw.so
    Trace                       = Yes
    TraceFile                       = /home/oracle/tmp/sql.log
    Database                = mywlduser
    Servername              = devpgres.office.corp
    Username                = postgres
    Password                = ********
    Port                    = 5432
    Protocol                = 6.4
    ReadOnly                = No
    RowVersioning           = No
    ShowSystemTable         = No
    ShowOidColumn           = No
    FakeOidIndex            = No
    ConnSettings            =
    [oracle@devdb00 ~]$

    Hi,
    To begin with there is a problem with your listener.ora.
    You have -
    SID_LIST_LISTENER_POSTGRES =
    (SID_LIST =
            (SID_DESC =
                    (SID_NAME = postgresql)
                    (ORACLE_HOME = /oracle/database/11.2.0.3)
                    (PROGRAM = /oracle/product/11.2.0/grid/bin/dg4odbc)
            (ENV = "LD_LIBRARY_PATH=/oracle/product/11.2.0/grid/lib:/usr/lib64")
    but the ORACLE_HOME directory and the path used for the PROGRAM do not match.
    Where did you install the gateway software ?
    If it was in /oracle/product/11.2.0/grid then change the listener to -
    SID_LIST_LISTENER_POSTGRES =
    (SID_LIST =
            (SID_DESC =
                    (SID_NAME = postgresql)
                    (ORACLE_HOME = /oracle/product/11.2.0/grid)
                    (PROGRAM =dg4odbc)
            (ENV = "LD_LIBRARY_PATH=/oracle/product/11.2.0/grid/lib:/usr/lib64")
    You do not need to add the path to the gateway excutable and doing so cause problems.
    If you installed the gateway software in /oracle/database/11.2.0.3 then you need to have a listener.ora in the directory -
    /oracle/database/11.2.0.3/network/admin
    and start the listener using the lsnrctl executable in /oracle/database/11.2.0.3/bin.
    The gateway init<sid>.ora file should then be in /oracle/database/11.2.0.3/hs/admin.
    Regards,
    Mike

  • REPLICATION BETWEEN ORACLE 10g and postgresql/MySQL/MSSQL SERVER??

    Hi Friends.
    I want to know if there are a manner of replication between ORACLE and (postgresql or mysql or mssqlserver).
    Please, my email is [email protected]
    Thanks
    Manuel

    Sure.
    Are you talking about replicating data in one direction? If so, in which direction (Oracle to non-Oracle or non-Oracle to Oracle)? Or are you talking about bidirectional replication?
    Which database do you want to be the "master" (i.e. initiate the push or pull of data)?
    What sort of lag is acceptable? Minutes? Hours? Days?
    Justin

  • Shifting data from PostgreSQL database to Oracle database

    hello folks,
    as i want to have an environment of many database servers of PostgreSQL databases on linux redhat 8.0 and one main database server of Oracle 8.1.7.0.0 on linux redhat 8.0;so that transections may go on PostgreSQL databases and Oracle database server would be used as a central repository to facilitate our data warehousing needs,I want to know how to shift data from PostgreSQL database to an Oracle database at the end of the day.What to do? From where can i get its documentation.
    Any suggestion would be highly appreciated.
    Regards.
    Muhammad Umar Liaquat.

    Since you're going to want to move the data regularly, I'd suggest looking into the Oracle Transparent Gateways (Heterogenous Services). This should let you create database links in Oracle that connect to each of the PostgreSQL databases. Then, you just have to write the appropriate select/insert statements.
    Justin

  • Migration from Oracle to PostgreSQL??? Problems in... and out...???

    Hello,
    Mine had existing Oracle SQL 8.0.5 version, and developer 2000
    as our developing platform. I want to know the problems that
    arise when migrating the database from Oracle to Postgresql.
    Ours had a database size of 3.57GBs. Please specify the reasons
    for 'converting...' or 'not converting...' the database to the
    postgresql.
    e-mail me at [email protected]
    Great Thanx in Advance for every reader and sender.
    Thanx
    _Kumar (Pune,India)

    I mean my OBIEE rpd will be pointing to Teradata instead of OBIEE .
    There are around 5 Subject Areas and 100 of reports .
    I need if there are some steps or guidelines I should follow , like connection pool setting ,data types which are different for both and i some logic is being used in OBIEE which not compatible with Teradata .
    If there is some document or guidelines present .
    Thanks

Maybe you are looking for