Postgres wire protocol
ROAPI uses the convergence Rust crate to read and write Postgres wire protocol. This means you will be able to query all tables loaded in ROAPI using any Postgres Clients as if ROAPI is a real Postgres database!
By default, ROAPI listens for Postgres traffic on address 127.0.0.1:5432
, but you can change it using the --addr-postgres
command line argument or add the following to your config file:
Once ROAPI boots up, you can connect to it without authentication:
See here for an example on how you can query data stored in a Google spreadsheet using the psql
Postgres client.
最后更新于