pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Initialize dblink remoteConn struct in all cases
6+ messages / 1 participants
[nested] [flat]

* pgsql: Initialize dblink remoteConn struct in all cases
@ 2020-05-28 17:47 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2020-05-28 17:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Initialize dblink remoteConn struct in all cases

Two of the members of rconn were left uninitialized. When
dblink_open() is called without an outer transaction it
handles the initialization for us, but with an outer
transaction it does not. Arrange for initialization
in all cases. Backpatch to all supported versions.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/flat/9bd0744f-5f04-c778-c5b3-809efe9c30c7%40joeconway.com#c545...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9003b76e169e8524f8d7c7547aded4749b9c39a1

Modified Files
--------------
contrib/dblink/dblink.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Initialize dblink remoteConn struct in all cases
@ 2020-05-28 17:47 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2020-05-28 17:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Initialize dblink remoteConn struct in all cases

Two of the members of rconn were left uninitialized. When
dblink_open() is called without an outer transaction it
handles the initialization for us, but with an outer
transaction it does not. Arrange for initialization
in all cases. Backpatch to all supported versions.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/flat/9bd0744f-5f04-c778-c5b3-809efe9c30c7%40joeconway.com#c545...

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e8eb485954463c2ed1d8dee48ae58063dffec972

Modified Files
--------------
contrib/dblink/dblink.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Initialize dblink remoteConn struct in all cases
@ 2020-05-28 17:47 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2020-05-28 17:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Initialize dblink remoteConn struct in all cases

Two of the members of rconn were left uninitialized. When
dblink_open() is called without an outer transaction it
handles the initialization for us, but with an outer
transaction it does not. Arrange for initialization
in all cases. Backpatch to all supported versions.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/flat/9bd0744f-5f04-c778-c5b3-809efe9c30c7%40joeconway.com#c545...

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/49a00e07c534d0d4378d40b6240e061640051304

Modified Files
--------------
contrib/dblink/dblink.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Initialize dblink remoteConn struct in all cases
@ 2020-05-28 17:47 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2020-05-28 17:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Initialize dblink remoteConn struct in all cases

Two of the members of rconn were left uninitialized. When
dblink_open() is called without an outer transaction it
handles the initialization for us, but with an outer
transaction it does not. Arrange for initialization
in all cases. Backpatch to all supported versions.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/flat/9bd0744f-5f04-c778-c5b3-809efe9c30c7%40joeconway.com#c545...

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/43d3d73189fd7ee877a65d810a98c1022ba368b7

Modified Files
--------------
contrib/dblink/dblink.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Initialize dblink remoteConn struct in all cases
@ 2020-05-28 17:47 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2020-05-28 17:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Initialize dblink remoteConn struct in all cases

Two of the members of rconn were left uninitialized. When
dblink_open() is called without an outer transaction it
handles the initialization for us, but with an outer
transaction it does not. Arrange for initialization
in all cases. Backpatch to all supported versions.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/flat/9bd0744f-5f04-c778-c5b3-809efe9c30c7%40joeconway.com#c545...

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f140d9b6e0aff91e07b7dd80cf0915bb19f02a9c

Modified Files
--------------
contrib/dblink/dblink.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Initialize dblink remoteConn struct in all cases
@ 2020-05-28 17:48 Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2020-05-28 17:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Initialize dblink remoteConn struct in all cases

Two of the members of rconn were left uninitialized. When
dblink_open() is called without an outer transaction it
handles the initialization for us, but with an outer
transaction it does not. Arrange for initialization
in all cases. Backpatch to all supported versions.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/flat/9bd0744f-5f04-c778-c5b3-809efe9c30c7%40joeconway.com#c545...

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/43d7934a3a9291aac6d3c713107bdac059062e0d

Modified Files
--------------
contrib/dblink/dblink.c | 5 +++++
1 file changed, 5 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2020-05-28 17:48 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 17:47 pgsql: Initialize dblink remoteConn struct in all cases Joe Conway <mail@joeconway.com>
2020-05-28 17:47 pgsql: Initialize dblink remoteConn struct in all cases Joe Conway <mail@joeconway.com>
2020-05-28 17:47 pgsql: Initialize dblink remoteConn struct in all cases Joe Conway <mail@joeconway.com>
2020-05-28 17:47 pgsql: Initialize dblink remoteConn struct in all cases Joe Conway <mail@joeconway.com>
2020-05-28 17:47 pgsql: Initialize dblink remoteConn struct in all cases Joe Conway <mail@joeconway.com>
2020-05-28 17:48 pgsql: Initialize dblink remoteConn struct in all cases Joe Conway <mail@joeconway.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox