Thread: pgsql: oauth: Simplify copy of PGoauthBearerRequest

pgsql: oauth: Simplify copy of PGoauthBearerRequest

From
Thomas Munro
Date:
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(-)