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
작성자: Guang Yi Xu 2025년 9월 15일 PostgreSQL 18 ( RC1은 2025년 9월 5일 공개 )은 SASL OAUTHBEARER 메커니즘을 기반으로 네이티브 OAuth2 인증 방식을 도입했습니다. 비밀번호 대신 클라이언트가 IdP(Identity Provider, 신원 공급자)에서 발급받은 베어러 토큰을 제시하면, PostgreSQL은 플러그형 검증기 모듈을 통해 토큰을 검증합니다. 이후 인증된 신원을 데이터베이스 롤에 매핑해 액세스를 허용합니다. 이를 통해 Postgres에서도 최신 SSO(Single Sign-On) 방식을 활용하면서 롤과 권한은 기존과 마찬가지로 DBA가 관리할 수 있습니다. 이 시리즈는 총 3편으로 구성됩니다. Part-1 (이 글): PostgreSQL 18...
Technical Blog
작성자: Guang Yi Xu 2025년 9월 17일 PostgreSQL 18 (RC1은 2025년 9월 5일 공개)은 새로운 기능인 OAuth2 인증을 도입했습니다. 이를 통해 PostgreSQL은 기존의 사용자 이름과 비밀번호 조합 대신 OAuth2 토큰을 사용해 사용자를 인증할 수 있습니다. 이 가이드에서는 Rust와 pgrx 프레임워크를 활용해 커스텀 검증기 모듈을 구현하고 PostgreSQL 18에 적용하는 과정을 단계별로 살펴봅니다. 이 시리즈는 총 3편으로 구성됩니다. Part-1: PostgreSQL 18 OAuth2 인증 작동 원리와 설정 방법 Part-2 (이 글): PostgreSQL 18 OAuth2 커스텀 검증기 구현 방법 Part-3: PostgreSQL proto3 클라이언트...
Technical Blog
작성자: Guang Yi Xu 2025년 9월 19일 PostgreSQL 18 OAuth2 클라이언트 구현 방식 PostgreSQL 18은 OAuth2 인증을 도입해 기존 사용자명과 비밀번호 조합 대신 OAuth2 토큰으로 사용자를 인증할 수 있도록 지원합니다. 이 가이드에서는 널리 사용되는 pgx Go 드라이버를 참조 구현으로 활용해 PostgreSQL 클라이언트 라이브러리에 OAuth Bearer 토큰 인증을 구현하는 방법을 살펴봅니다. 이 시리즈는 총 3편으로 구성됩니다. Part-1: PostgreSQL 18 OAuth2 인증 작동 원리와 설정 방법 Part-2: PostgreSQL 18 OAuth2 커스텀 검증기 구현 방법 Part-3 (이 글): PostgreSQL 18 OAuth2...
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...