pgsql: oauth: Simplify copy of PGoauthBearerRequest - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: oauth: Simplify copy of PGoauthBearerRequest
Date
Msg-id E1tukh7-003Cf0-2i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
oauth: Simplify copy of PGoauthBearerRequest

Follow-up to 03366b61d. Since there are no more const members in the
PGoauthBearerRequest struct, the previous memcpy() can be replaced with
simple assignment.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Discussion: https://postgr.es/m/p4bd7mn6dxr2zdak74abocyltpfdxif4pxqzixqpxpetjwt34h%40qc6jgfmoddvq

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1cf4c56480f883bec50753e092da51ceaf3cea67

Modified Files
--------------
src/interfaces/libpq/fe-auth-oauth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: oauth: Fix postcondition for set_timer on macOS
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix compiler warning for commit 434dbf69.