WG: Extension using the current connection handle - Mailing list pgsql-admin

From Brandl, Wolfgang
Subject WG: Extension using the current connection handle
Date
Msg-id F2EB158D72DC6A4F97877DD0BB6F020E61388C03@CMD0MBX-AB01.cmd0.cna.at
Whole thread Raw
Responses Re: WG: Extension using the current connection handle  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-admin
Hello
I have written a extension in postgres to call a Oracle Stored procedure.
We have a Postgres table holding the usernames and password related to the Oracle SID.

In my extension I wanted to select the username and password out of this table.
Do I have to make a new Postgres connection or can I somehow use the current connection handel from the session Where
theextension will be called?
 

Regards
Wolfgang

pgsql-admin by date:

Previous
From: pinker
Date:
Subject: Re: pg_upgrade --link from 9.4 to 10
Next
From: Laurenz Albe
Date:
Subject: Re: WG: Extension using the current connection handle