oauth: Simplify copy of PGoauthBearerRequest

Thomas Munro <tmunro@postgresql.org>

Commit: 1cf4c56480f883bec50753e092da51ceaf3cea67
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2025-03-19T03:59:25Z
Releases: 18.0
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

Files

PathChange+/−
src/interfaces/libpq/fe-auth-oauth.c modified +1 −1

Discussion