Re: Is there any way to invoke Java API from PostgreSQL

From: Steve Midgley <science(at)misuse(dot)org>
To: aditya desai <admad123(at)gmail(dot)com>
Cc: Erik Brandsberg <erik(at)heimdalldata(dot)com>, pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: Is there any way to invoke Java API from PostgreSQL
Date: 2021-08-13 16:39:51
Message-ID: CAJexoSKh4e8S54j1uq_K1bZ5fa6PDuC4BuF62YPRO=C57vG98Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Aug 12, 2021 at 9:43 PM aditya desai <admad123(at)gmail(dot)com> wrote:

> Hi Erik,
> Sincere apologies. Maybe I wasn't clear. We need to transfer data between
> Azure PostgreSQL to On Prem Open Source PostgreSQL and Azure PostgreSQL to
> on Prem Oracle. Azure PostgreSQL is not allowing outgoing traffic through
> DB Links outside the same region. That's where we are looking for API-like
> solutions.
>
> Regards,
> Aditya.
>
> On Fri, Aug 13, 2021 at 10:02 AM Erik Brandsberg <erik(at)heimdalldata(dot)com>
> wrote:
>
>> Honestly, what you are saying is that you aren't allowed to use a
>> firecracker due to fire concerns, but is there a way to use dynamite
>> instead. If fdw isn't allowed, then callouts to other language
>> environments shouldn't be allowed either.
>>
>> On Fri, Aug 13, 2021 at 12:28 AM aditya desai <admad123(at)gmail(dot)com> wrote:
>>
>>> Hi,
>>> Is there any way to invoke Java API from PostgreSQL? We need to transfer
>>> data between PostgreSQL and Oracle and oracle_fdw is not allowed due to
>>> security concerns in the environment. Also one of PostgresQL in Azure
>>> PostgreSQL and others are open source on prem.
>>>
>>>
>>>
Why not use PG replicate to a server that you do control (that might be
Erik's "bastion" suggestion), or pg_dump/restore to a similar server, and
then execute the business logic and ETL over to Oracle from there?

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Programadores cba 2021-08-13 19:03:24 Re: How to revoke access and list schema objects
Previous Message intmail01@gmail.com 2021-08-13 16:00:31 How to revoke access and list schema objects