Skip to content

alaisi/pg_websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pg_websocket

PostgreSQL extension that adds support for WebSocket connections to a database. Supports standard PostgreSQL protocol in a binary WebSocket connection.

Use with a WebSocket PostgreSQL client like pegsocket.js.

Installation

Building the extension

$ make
$ sudo make install

Setup postgresql.conf

shared_preload_libraries = 'pg_websocket'

## Optional: port to listen for WebSocket connections
# websocket.port = 15432
## Optional: backend database host to pass traffic to
# websocket.pg_host = localhost
## Optional: backend database port to pass traffic to
# websocket.pg_port = 5432

About

WebSocket extension for PostgreSQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published