Guang Yi Xu

Principal Software Engineer

Guang Yi Xu is a Principal Engineer at EDB contributing to EDB Postgres AI Hybrid Management. In the past 18 years, he's been working as QA lead, UNIX application developer, and cloud native service engineer with several patents published. 

Read Blogs

Technical Blog
Introduction PostgreSQL 18 introduces a significant new feature: OAuth2 authentication. This enables PostgreSQL to authenticate users using OAuth2 tokens instead of traditional username/password pairs. In this guide, we'll explore how to implement OAuth Bearer Token authentication in a PostgreSQL client library, using the popular pgx Go driver as our reference implementation. This blog series...
Technical Blog
PostgreSQL 18 ( RC1 was released on 09/05/2025) introduces a significant new feature: OAuth2 authentication. This lets PostgreSQL authenticate users using OAuth2 tokens instead of traditional username/password pairs. In this guide, we'll walk through building a custom validator module using Rust and the pgrx framework. This blog series contains 3 articles: Part-1: Explore how PostgreSQL 18 OAuth2...
Technical Blog
PostgreSQL 18 ( RC1 was released on 09/05/2025) introduces a native OAuth2 authentication method based on the SASL OAUTHBEARER mechanism. Instead of passwords, clients present bearer tokens issued by an identity provider (IdP). PostgreSQL validates those tokens through a pluggable validator module, then maps the authenticated identity to a database role before allowing access. This brings Postgres...