Relational engine

Your PostgreSQL data, where work happens.

Open-source relational database for complex queries and ACID transactions. Direct, pooled, or any of the 27 hosted-Postgres cards that share this wire protocol.

Use the results in Excel, Google Sheets, AI tools and your apps through the Database REST API.

Every connector type is on Free. Start with 2 data sources and 1 agent.

PostgreSQLYour existing database connection
Inside your networkQuery Streams Network Agent

Run read-only queries inside your network.

Read-only queries · outbound connection

Source credentials stay on the agent. Your tools receive query results.

Source → agent → allowed results

Query Streams reads a PostgreSQL database as live SQL from Microsoft Excel, Google Sheets, Power BI, AI assistants over MCP and a REST endpoint. A self-hosted agent connects out from inside your network on port 5432 — no inbound port, no VPN, no IP allowlist — and it recognises 27 hosted Postgres services by hostname alone, so TLS and the connection-pooler settings that trip other tools up are applied before you ever meet them. The database password stays on the machine you installed the agent on.

  • 27 hosted Postgres hosts recognised
  • Exact numerics, never rounded
  • search_path honoured per query

Connect PostgreSQL with the right settings.

Keep the connection on the Network Agent. These are the details specific to PostgreSQL.

Port
5432 by default, any port accepted — pooler ports on recognised hosts are already known
Encryption
TLS on by default (sslmode=require), and forced regardless of the setting on the 27 recognised hosted providers
Credentials
A database username and password, held on the agent. Query Streams never receives them
Driver
Npgsql 9.0.3, bundled with the agent — nothing to install on the database server or the client
Schema
public unless you pick another; the one you pick is applied with search_path on every query
Exact numbers
numeric with no declared precision, or wider than 28 digits, is carried losslessly instead of rounded
Pooling
On. Transaction-mode poolers (PgBouncer, Supavisor) are detected and their prepared-statement limits worked around
Timeouts
30 seconds to connect, 30 seconds per statement while streaming
Read-only
Enforced on your own machine before the statement is sent to the server

Nothing is copied. The agent runs your SELECT against the live database and streams the rows straight through, so what lands in the spreadsheet is what the database holds at that moment rather than the state of an overnight extract. There is no warehouse in the middle to fall behind and no schedule to miss.

One agent can serve many databases, and you can run as many agents as you have places to put them — one in the office, one in each cloud region. Every data source they can reach shows up in a single dropdown, so the person writing the query never has to know which machine is doing the reaching.

Provider reference: www.postgresql.org

Built for how PostgreSQL works.

It already knows your Postgres host

Managed Postgres is where most connection attempts actually fail, and almost never because of the password. It is a pooler on a port nobody documents, or TLS that the provider requires but the client left off. The agent carries a table of 27 hosted Postgres services and matches on hostname, so those decisions are already made.

  • TLS is forced, not offered — if the host matches a known provider the connection is encrypted whether or not the box is ticked.
  • Odd ports are expected — Crunchy on 5431, Azure and PlanetScale on 6432, DigitalOcean on 25061, Supabase's transaction pooler on 6543.
  • Transaction poolers are handled — PgBouncer and Supavisor in transaction mode break prepared statements. When one is detected the agent turns off statement caching and connection reset instead of failing halfway through your report.
  • Neon's pooled endpoint, with -pooler in the middle of the hostname, is recognised as the same database as the direct one.

Numbers survive the trip

A reporting tool that quietly turns an exact number into a floating-point one is worse than a tool that refuses, because you find out at year end. PostgreSQL lets you declare numeric with no precision at all, and that value has no safe float to land in.

  • numeric with no declared precision is carried through losslessly rather than rounded into a double.
  • So is numeric declared wider than 28 digits — beyond what a fixed decimal can hold, the exact digits are kept.
  • json and jsonb arrive as text you can parse, uuid as its lowercase canonical form, interval as an ISO-8601 duration.
  • Arrays and composite types come through as their text form rather than being dropped from the result.

Filters stay parameters

When a filter has many values — forty product codes, a list of regions — most tools paste them into the SQL as text. Query Streams binds the whole list as a single PostgreSQL array parameter, so the statement your database sees is the same one every time regardless of how many values the reader picked.

-- One @variable, any number of values, one prepared statement
SELECT   region, COUNT(*) AS orders, SUM(total) AS revenue
FROM     orders
WHERE    status = ANY(@statuses)
  AND    placed_at >= @since
GROUP BY region
ORDER BY revenue DESC

From connection to useful results.

  1. Install the Network Agent on a machine that can already reach the database. It dials out to us; nothing about Postgres is exposed to the internet.
  2. Paste the connection string from your provider, or type host, port, database, user and password yourself — a postgresql:// URI is pulled apart into the fields for you.
  3. If the host belongs to a service the agent recognises, TLS is switched on and the right pooler behaviour is applied without you choosing anything.
  4. Pick the schemas worth exposing. The one you choose is applied with search_path on every query, so unqualified table names resolve exactly as they do in psql.
  5. Save a query and read it from Excel, Sheets, Power BI, MCP, Nova or REST — and hand it to someone else without handing over the SQL.

Put your PostgreSQL results to work.

One connection serves your spreadsheets, apps and AI tools. Share permission to run a saved query; recipients see the allowed results, with the SQL and source login hidden.

For your team, vendors and partners

Ask a question in plain English. Nova already knows your PostgreSQL tables, writes and runs the SQL, explains the answer and charts it — no query to write, no credentials to hand over.

How Nova works

Share a live PostgreSQL result with anyone — a colleague, a vendor, a partner — as a bookmarkable grid that re-runs fresh when opened, on a phone, a tablet or a desktop. They see the results, never the SQL or the credentials.

How the Data Viewer works

For apps and systems

Publish a PostgreSQL query as an authenticated JSON endpoint any application can call, with an OpenAPI 3.1 spec and ready-made Postman, Insomnia and Hoppscotch collections. No database port is opened.

PostgreSQL guide

Paste the generated Power Query M into the Power BI Advanced Editor and the report reads live PostgreSQL results over HTTPS — no ODBC driver, no database port opened.

Explore Power BI

For AI tools

Delivered to people

Join PostgreSQL to the rest of your data.

Bring databases, business APIs, files and logs into one read-only query. Every connector supports Federated Queries.

Name the connections and tables. Query Streams handles the source queries and combines the results.

Explore Federated Queries
Illustrative cross-source query
-- nothing copied, nothing merged, nothing scheduled
SELECT   c.region, COUNT(*) AS orders, SUM(i.amount_due) AS invoiced
FROM     pg_reporting.public.orders1 f
JOIN     erp_sql.dbo.customers2      c ON c.id = f.customer_id
JOIN     billing.stripe.invoices3    i ON i.customer = c.stripe_id
GROUP BY c.region
ORDER BY invoiced DESC;

Use your own connection, schema, table and column names.

Shared across the connector family.

True of every database connector

  • Outbound only — the agent opens one encrypted connection out to Query Streams. No inbound port to forward, no VPN, no IP allowlist, nothing about your database exposed to the internet.
  • Credentials stay put — the database username and password live on the machine you installed the agent on. Query Streams never receives them and cannot reach your database on its own.
  • Read-only, enforced — one statement at a time, SELECT and friends only. A write is rejected on your own machine before it is ever sent to the server, rather than relying on a permission somebody remembered to set.
  • Deploy as many agents as you like — one per site, region or cloud. Every data source they can see arrives in a single dropdown, so nobody has to know which agent hosts what.

What you get once a query is saved

  • Share the capability, not the SQL — a colleague or an outside partner can run your query and change its filters without ever seeing the statement behind it.
  • Filters from either direction — declare them yourself as @variables, or let the connector spot the literal values already sitting in your WHERE clause and offer those as dropdowns.
  • Read it from anywhere — Microsoft Excel, Google Sheets, Power BI, the REST API, AI assistants over MCP, the Query Builder and Nova all read the same saved query.
  • Run several at once — five saved queries into five worksheet tabs, streamed concurrently, however large the results.
  • Join it to anything else you have connected — another database, a business API, or a folder of files, in one read-only statement.

Questions about PostgreSQL

Where can I use PostgreSQL query results?

Use PostgreSQL results in Excel, Google Sheets, the Data Viewer, your apps through the Database REST API, and AI tools through MCP or Nova. Saved results also feed supported Automation destinations, reports and alerts. Destination availability and allowances depend on your plan.

Do I need to open an inbound port for PostgreSQL?

No. Install the Network Agent on a machine that can reach PostgreSQL. The agent connects outward to Query Streams; no inbound port or VPN is needed. Your source must still allow the agent machine to connect under its own access rules.

Can Query Streams change data in PostgreSQL?

No. Queries are enforced read-only on the Network Agent before execution. Source credentials stay on that machine. Sharing grants permission to run a saved query and receive its results; it does not reveal the SQL or database login.

What do I need to connect PostgreSQL?

Port: 5432 by default, any port accepted — pooler ports on recognised hosts are already known. Encryption: TLS on by default (sslmode=require), and forced regardless of the setting on the 27 recognised hosted providers. Credentials: A database username and password, held on the agent. Query Streams never receives them. Driver: Npgsql 9.0.3, bundled with the agent — nothing to install on the database server or the client

Can I join PostgreSQL to other connected sources?

Yes. Federated Queries support every connector type, including databases, business APIs, files and logs. Name the connections and tables in one read-only query. Query Streams translates the source portions as needed and combines their results. See how Federated Queries work.

Put PostgreSQL where the work happens.

Start with Free: every connector type, 2 data sources and 1 Network Agent. Add plan allowances as your needs grow.