# pgwire - PostgreSQL Wire Protocol의 Rust 구현체

> Clean Markdown view of GeekNews topic #14087. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=14087](https://news.hada.io/topic?id=14087)
- GeekNews Markdown: [https://news.hada.io/topic/14087.md](https://news.hada.io/topic/14087.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2024-04-01T09:46:02+09:00
- Updated: 2024-04-01T09:46:02+09:00
- Original source: [github.com/sunng87](https://github.com/sunng87/pgwire)
- Points: 7
- Comments: 0

## Topic Body

- 자신의 데이터 서비스에 Postgres 호환 억세스 레이어를 추가하기 위한 라이브러리   
- PostgreSQL 와이어 프로토콜을 구현하며, PostgreSQL 호환 서버 및 클라이언트를 작성하는 데 필수적인 API를 제공  
- 사용방법 (서버/백엔드)  
  - Startup Processor 와 Query Processor 두개의 키 컴포넌트를 구현해야함   
  - `SimpleQueryHandler` 를 추가하면 psql 과 호환됨   
  - `ExtendedQueryHandler` 를 추가하면 각종 언어용 드라이버 및 Prepared Statement, 바이너리 인코딩등을 지원   
- pgwire를 사용중인 프로젝트들 :   
  - GreptimeDB: 클라우드 네이티브 시계열 데이터베이스  
  - risinglight: 교육용 OLAP 데이터베이스 시스템  
  - PeerDB : Postgres 안팎으로 10배 빠른 데이터 이동을 가능하게 하는 Postgres 최초의 ETL/ELT  
  - CeresDB : AntGroup의 고성능 분산형 클라우드 네이티브 시계열 데이터베이스   
  - dozer : 데이터 제품을 구축, 배포 및 유지 관리하기 위한 실시간 데이터 플랫폼

## Comments



_No public comments on this page._
