Documentation Index
Fetch the complete documentation index at: https://docs.pipeshub.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The PostgreSQL connector indexes schemas, tables, and row data from a PostgreSQL database into PipesHub so your AI assistant can search across structured data alongside your other knowledge sources.What Gets Synced
| Content Type | Details |
|---|---|
| Schemas | All schemas selected by the Schemas filter |
| Tables | Table names, columns, data types, primary and foreign keys |
| Schema metadata | CREATE TABLE statements and relationships between tables |
| Row data | Row contents from selected tables, capped per table by the Max rows filter |
Configuration Guide
Step 1: Install PostgreSQL
Step 1: Install PostgreSQL
If you already have a PostgreSQL server, skip this step.If The connector also reads schema metadata from
Install PostgreSQL
Download the installer from the PostgreSQL Downloads page.Verify the install:psql is not recognized, add the bin directory to PATH:Install pgAdmin
Download the installer from the pgAdmin Downloads page.Set up a local server and database
- Open pgAdmin.
- Register a new server:
- Right-click Servers > Register > Server
- General tab — Name:
Local PostgreSQL - Connection tab — Host:
localhost, Port:5432, Username:postgres, Password: the one you set during PostgreSQL install - Save
- Create the database:
- Expand the server > right-click Databases > Create > Database
- Name it
bird_mini_dev - Save
Create a user for the connector
Create a dedicated read-only role for PipesHub. Run these as a superuser (e.g.postgres) against the target database:information_schema and pg_catalog, which are available to any authenticated user by default.Replace
pipeshub_user and a_strong_password with your own values, and repeat the USAGE/SELECT/ALTER DEFAULT PRIVILEGES grants for each schema you plan to sync.Step 2: (Optional) Load the BIRD Mini Dev sample dataset
Step 2: (Optional) Load the BIRD Mini Dev sample dataset
If you already have data, skip this step.If macOS / Linux:The dataset includes Formula 1 tables:
- Download the dataset from birdsql/bird_mini_dev on Hugging Face.
- Click Download BIRD Mini-Dev Complete Package and extract the zip.
- Locate
BIRD_dev.sqlinminidev_0703/minidev/MINIDEV_postgresql. - Load it with
psql:
psql is not on PATH, use the full path:circuits, constructors, constructorresults, constructorstandings, drivers, laptimes, driverstandings, pitstops, qualifying, races, results, seasons, status. Sample queries are on the dataset page.Step 3: Configure the connector in PipesHub
Step 3: Configure the connector in PipesHub
- In PipesHub, open Connector Settings.
- In the Available tab, find the PostgreSQL card and click Configure.

- Choose how you want to authenticate.
Option 1: Basic Auth
| Field | Example |
|---|---|
| Host | localhost |
| Port | 5432 |
| Database | bird_mini_dev |
| User | postgres |
| Password | your password |
Option 2: Connection String
Use a single PostgreSQL connection string:p@ss:word becomes p%40ss%3Aword
Step 4: Configure sync filters
Step 4: Configure sync filters
Sync filters control what is pulled from PostgreSQL. Anything excluded by a filter is never downloaded.

| Filter | Description | Default |
|---|---|---|
| Schemas | Pick the schemas to sync (e.g. public). Leave empty to sync all schemas. | All schemas |
| Tables | Pick the tables to sync (e.g. public.account). Leave empty to sync all tables in the selected schemas. | All tables |
| Max rows per table | Maximum number of rows to fetch from each table. | 1000 |
| Index tables | When enabled, table content is indexed for AI search. When disabled, only schema metadata is indexed. | Enabled |
Schemas and tables are dropdowns populated from your database after the credentials are saved — pick from the list rather than typing names by hand.
Step 5: Choose a sync strategy and save
Step 5: Choose a sync strategy and save
- Pick Scheduled or Manual sync.
- If scheduled, set the Sync interval (default: 60 minutes).
- Click Save to enable the connector.


Example Use Cases
After syncing the BIRD Mini Dev Formula 1 tables, you can ask your assistant questions like:- “Which constructor has the most championships?”
- “Show me the fastest pit stop times across the 2008 season.”
- “List the top 5 drivers by total points across all seasons.”
FAQ
What privileges does the PostgreSQL user need?
What privileges does the PostgreSQL user need?
For read-only sync, grant The connector also reads schema metadata from
USAGE on the schemas and SELECT on the tables you want to sync:information_schema and pg_catalog, which are available to any authenticated user by default.Can I connect to a remote PostgreSQL server?
Can I connect to a remote PostgreSQL server?
Yes. Use the public host and port. Make sure:
pg_hba.confallows connections from the PipesHub deployment IP range.- The PostgreSQL service is listening on a reachable interface (
listen_addressesinpostgresql.conf). - Any firewall or security group allows traffic on the chosen port (default
5432).
My password has special characters and the connection string fails
My password has special characters and the connection string fails
URL-encode the special characters in the password. Common replacements:So
p@ss:word becomes p%40ss%3Aword in the connection string.How do I keep large tables from blowing up the sync?
How do I keep large tables from blowing up the sync?
Use Max rows per table in sync filters to cap how many rows are fetched per table, narrow the Schemas and Tables filters to just what you need, and disable Index tables if you only want schema metadata in search.
Can I sync only specific tables across multiple schemas?
Can I sync only specific tables across multiple schemas?
Yes. Select multiple schemas in the Schemas filter, then pick fully-qualified table names (e.g.
public.account, analytics.events) in the Tables filter.




















