Skip to content

Commit c98f320

Browse files
committed
docs: add pg-wire section to deployment page
Cross-reference the new Postgres wire protocol page from the deployment page so users discover the psql/BI-tool integration alongside the other deployment options.
1 parent 59040a1 commit c98f320

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/src/content/docs/deployment.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,18 @@ import {
128128

129129
See the [Operators](/querymode/operators/) page for the full operator reference.
130130

131+
## Postgres wire protocol
132+
133+
Start a local server that accepts `psql`, DBeaver, Metabase, or any PostgreSQL-compatible client:
134+
135+
```bash
136+
npx tsx src/pg-wire/server.ts
137+
# psql -h localhost -p 5433 -U querymode
138+
# SELECT * FROM './data/events.parquet' WHERE region = 'us' LIMIT 10;
139+
```
140+
141+
See [Postgres Wire Protocol](/querymode/pg-wire/) for configuration, supported SQL, and programmatic embedding.
142+
131143
## Next.js API route
132144

133145
```typescript

0 commit comments

Comments
 (0)