Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpPwM-00050H-GI for pgsql-interfaces@arkaria.postgresql.org; Tue, 23 Nov 2021 07:10:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mpPwL-0000mS-3p for pgsql-interfaces@arkaria.postgresql.org; Tue, 23 Nov 2021 07:10:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpPwK-0000mI-Sk for pgsql-interfaces@lists.postgresql.org; Tue, 23 Nov 2021 07:10:04 +0000 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mpPwJ-0006pj-Aj for pgsql-interfaces@lists.postgresql.org; Tue, 23 Nov 2021 07:10:04 +0000 Received: by mail-oi1-x22e.google.com with SMTP id s139so42774539oie.13 for ; Mon, 22 Nov 2021 23:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=K+YxmOq+B/i6EgoANO5l+lST/LTNKvJh+z+HUTvaPTg=; b=XopBPnWj/aJ6ICL3xQauLKHuKFS/VhExXHY9TucaoolL92txeisfDx/8tpCdEovXez vKyxXFbDRaw5SK5BAnwb1BsTY/8ugcZv1kdWKqLUoxqJQ1K2QXnYVsuIuI+u20K8cVAo 1yy2hRku1dR1NYCm5TDvS1oU41qDfXRLg1npwrjsjgnvilTmww7GzcBF9R0tL3K/QCcv g0Ljsq9p58qf4t3SFs8CVC8UcJizCs46dZyj9Avr6ab2bVtsD3jjo1iOZ1kcmk8rK9Ym RjLqJPOIl0LjElMMNJhMAE+mGumVJqINHBhkGjsP9jA7tHTBpLq4flDmM1oTTj+9FaQN 604w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=K+YxmOq+B/i6EgoANO5l+lST/LTNKvJh+z+HUTvaPTg=; b=xGMDFdbNkIa6+3z/V7meHZLUM3Anetd2PN/4BG9fs8+/fOJ7mYiFCfrx7uJQegocd1 lOVioWI9KTS4rBqgL123uWAksDHTcroalRT1g8gPRHzKiEZSyW6Ar8+phR6Oh1wfSBAL l53fLkkS8JPt/fyBcl2kpwUBpd50d70mapZZAOuteKSeB0YjCQheBI8QcCvileuobcZG iKvuVeJoLl5ICl9K+Xr/ua127Qewas2hk2TLdbcWIxBosLwkX/wfEdLSrWgpgXbO7acd 700NiNSIbxljUBPG4NZWb8O+dVTG5Tzodz5FGQmX045QEyuhNcL/mhkm6tMW+F2pxsti q6hg== X-Gm-Message-State: AOAM532k723imLbKQvBxXg3ZycyMTL/HybAwAy/xkiXCw7HwBvr/o4WP UwnNF0A7ixUNWYaBp4gdoIBwHvjwT9+8beEIjbLR1L3b X-Google-Smtp-Source: ABdhPJyS/nZzaKu0RlY7bQhLW07IhNzcBhFAR4sJIUtMF45zD9rytph0QdVKYcQlFSsKQncjH7DdWtmUCY5IP3MpeWY= X-Received: by 2002:a05:6808:3d8:: with SMTP id o24mr206654oie.168.1637651401131; Mon, 22 Nov 2021 23:10:01 -0800 (PST) MIME-Version: 1.0 References: <163765033620.23200.12862742917966078276@malur.postgresql.org> In-Reply-To: From: trn nrjn Date: Tue, 23 Nov 2021 12:39:50 +0530 Message-ID: Subject: PostgreSQL XA resource manager for C/C++ apps To: pgsql-interfaces@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000007c9d705d16f6e4e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000007c9d705d16f6e4e Content-Type: text/plain; charset="UTF-8" Hi, Could you please assist with the following when not using ODBC/JDBC? 1. Does PostgreSQL participate as an XA resource manager in an XA transaction managed by a transaction manager (eg: Oracle Tuxedo) for C/C++ applications? 2. If so, can you please advice - 2.1. PostgreSQL xa_open string to be used for PostgreSQL XA resource manager by C/C++ applications managed by a a transaction manager (eg: Oracle Tuxedo)? 2.2. PostgreSQL XA switch structure (xa_switch_t) to be used (similar to xaosw for Oracle database)? 2.3. Is there any link that I can use as reference for PostgreSQL XA resource manager? Thanks and regards Shuba --00000000000007c9d705d16f6e4e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Could you please assist with the followin= g when not using ODBC/JDBC?

1. D= oes PostgreSQL participate as an XA resource manager in an XA transaction m= anaged by a transaction manager (eg: Oracle Tuxedo) for C/C++ applications?=

2.= If so, can you please advice -

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2.1. PostgreSQL xa_open strin= g to be used for PostgreSQL XA resource manager by C/C++ applications manag= ed by a a transaction manager (eg: Oracle Tuxedo)?

=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2.2. Postgr= eSQL XA switch structure (xa_switch_t) to be used (similar to xaosw for Ora= cle database)?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2.3.=C2= =A0Is there a= ny link that I can use as reference for =C2=A0PostgreSQL XA resource manage= r?


Thanks and regar= ds=C2=A0
Shuba=C2=A0
--00000000000007c9d705d16f6e4e--