Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uX2ZB-004vSm-LL for pgsql-novice@arkaria.postgresql.org; Wed, 02 Jul 2025 18:52:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uX2Z7-005O9c-CE for pgsql-novice@arkaria.postgresql.org; Wed, 02 Jul 2025 18:52:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uX2CP-005CWU-FW; Wed, 02 Jul 2025 18:28:50 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uX2CO-005Cad-19; Wed, 02 Jul 2025 18:28:49 +0000 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-ae0de0c03e9so1084472266b.2; Wed, 02 Jul 2025 11:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751480925; x=1752085725; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=B3/x8oZKXtxnaXjhriIXtZ3eEmCdnHhLLcLif+BnjiI=; b=W5WgWQ2zcMvglgP12izx0/Y/5jLc3ZvbTmoFSK23qTt5/kp50wVhzJV7lG8HNLUD8K 2t1YRKtIMdo/eo6m94U+b2AakUzsCrirG/pfVPNdXvvMVMaZdPete1Pwxpr7kCzP+5nr 4qjc2tma46Uxp1pFnefSkQLAPEhnGycqVHgf8FbINTYA3gDASK5KH+7IG7QdyuIOXopn TlNbuV4IrikDIPjvnVsagHDANWQ43Neraj+NVI609Fg/mSBaeLlojWP6yyK7gm7xmUEX vZ0m7WvF4BXqJarwsL/WGZ5WyfnqjnTKTRMlIERLgGiSyIu5M17Enn+Pr1hCSTwkrN9s aHAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751480925; x=1752085725; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=B3/x8oZKXtxnaXjhriIXtZ3eEmCdnHhLLcLif+BnjiI=; b=CsR+rUofH6fNpw4EujFUdnqObfok+fgBZozLt2x6RVOHiKDMl6zEbBnbfjvf8zHgRF jsfzc31+mLt2RX5xC7pep4w/1Ug4IyBvjHUuxh4cv7DTPzdH9ladIm+96XwhsrKoBJac WCUgzbFf6V+T+wE0AxjEaPjmJdErel68M+boZJAD20lMfEc+zFuciRmJ5FJSfnK+2AF0 zczp0aB/2Aje/NcTdy6ErzbxGLn5iCuHgu77NfVE21fEpPSz7CoIDC3nQwOFPIILc6+K ptzhKsK7SS1sBcGCUKebx9TEPIG/AdQROJhwzIds4LRhjMgfLYzKuMxMFCZpWcUzabCZ 92dQ== X-Forwarded-Encrypted: i=1; AJvYcCUvKnnvlJfy90geVHfQzKPb98NNUgCCNkIjK9yfvjoggy3Cd/pGBygoVk3GrKq1AHbkJO8UnMx1T+wKVqA=@postgresql.org X-Gm-Message-State: AOJu0Yx94D3lftsWDCHMGgZYe6oCAvHwpIH1sFlknYLnup89OoJiF1lR iFSemolu8VW5scOybVVRU5zuFYq3DGsgYh4AlzwojY8nORjJKaQgY9NdUe8fk9kwnK5AmYiO5eq P/y184Y1JrbF7cxevhQx3tSdIBdjf7biJOtg= X-Gm-Gg: ASbGnctMLVRS1fhYL7fYpVEjBq87FCoIyptJPz5fXGXXkZqn99tu4OMpA1VvRb5oqHG N4IMe5r6py2pDXFPxMhh3740YB6tD+fqLySMIgU4pMMw7SlPUgd5/Qgr3VanEbm8/AD0VnbhXzS dQIKOyd0RK2pYeuDgLWxyugZP44LiQD4mUAVPhiNA= X-Google-Smtp-Source: AGHT+IFyph8AmphFBhTQiS+1SadQsaPZr23OY1z3h7BWPw2LyAKTfD3wDtZ0eA+epefmkxZjKFynZnXL20/Xx1dW6Pc= X-Received: by 2002:a17:907:3c89:b0:ae2:60ba:da91 with SMTP id a640c23a62f3a-ae3c2b5ecadmr419584366b.15.1751480925116; Wed, 02 Jul 2025 11:28:45 -0700 (PDT) MIME-Version: 1.0 From: Santhosh S Date: Wed, 2 Jul 2025 23:58:33 +0530 X-Gm-Features: Ac12FXzmxYPLAlVacfK2B6z1UFlQHoR0ho66PRSQdLX68_j60ZVnANONtYrdskM Message-ID: Subject: Foreign Data Wrapper from Oracle to Postgres 16 To: pgsql-general@postgresql.org, pgsql-novice@postgresql.org Content-Type: multipart/alternative; boundary="0000000000005f5f220638f66e66" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000005f5f220638f66e66 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi team, I am working on a project along with my peers on developing an Foreign Data Wrapper to transfer data from Oracle to Postgres 16. We followed the below steps in order: 1. Developed the Foreign Data Wrapper (64-bit) using Microsoft Visual Studio to transfer from Oracle to Postgres 16 2. Installed Oracle Instant Client 64-bit versionand InstantClient Path has been set in the environment variables 3. Have Postgres 16 64-bit version installed 4. Placed all the files from each folder of the downloaded ORACLE_FDW package should be copied into the respective folders of PostgreSQL Installation directory 5. =E2=80=9Coci.dll=E2=80=9D from the Oracle Instant Client Installation di= rectory to PostgreSQL Installation directory 6. Visual C++ redistributable is installed After the above steps when we try to execute the below statement in Postgres 16 CREATE EXTENSION IF NOT EXISTS oracle_fdw SCHEMA public VERSION "1.2" we get the error "SQL Error [58P01]: ERROR: could not load library "C:/Program Files/PostgreSQL/16/lib/oracle_fdw.dll": The specified module could not be found. Error position" But we are able to execute the above command successfully in Postgres 13 and successfully transfer data from Oracle to Postgres 13. Any help or direction would be greatly helpful. Regards Santhosh S --0000000000005f5f220638f66e66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi team,

I a= m working on a project along with my peers on developing an=C2=A0Foreign Da= ta Wrapper to transfer data from Oracle to Postgres 16. We followed the bel= ow steps in order:

1. Developed the Foreign Data W= rapper (64-bit) using Microsoft Visual Studio to transfer from Oracle to Po= stgres 16
2. Installed Oracle Instant Client 64-bit versionand In= stantClient Path has been set in the environment variables
3. Hav= e Postgres 16 64-bit version installed
4. Placed all the files fr= om each folder of the downloaded ORACLE_FDW package should be copied into t= he respective folders of PostgreSQL Installation directory
5.=C2= =A0=E2=80=9Coci.dll=E2=80=9D from the Oracle Instant Client Installation di= rectory to PostgreSQL Installation directory
6. Visual C++ redist= ributable is installed

After the above steps when = we try to execute the below statement in Postgres 16

CR= EATE EXTENSION IF NOT EXISTS oracle_fdw
SCHEMA public
VERSION "1= .2"

we get the error "SQL Er= ror [58P01]: ERROR: could not load library "C:/Program Files/PostgreSQ= L/16/lib/oracle_fdw.dll": The specified module could not be found.
Error position"=C2=A0

But we are able = to execute the above command successfully in Postgres 13 and successfully t= ransfer data from Oracle to Postgres 13.

Any help = or direction would be greatly helpful.

Regards
Santhosh S
--0000000000005f5f220638f66e66--