Want to transfer data from PostgreSQL query results to Redshift table?
Try Withdata DBCopier, a PostgreSQL to Redshift converter for Windows, Mac, and Linux, Copy PostgreSQL query to Redshift, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support Windows, Linux, and macOS.
Transfer data from PostgreSQL query To Redshift table
Login to PostgreSQL and Redshift -> Enter source PostgreSQL query -> Set target Redshift table -> Copy PostgreSQL query data to Redshift table
Choose source PostgreSQL database and logon.

Choose target Redshift database and logon.

Click “Convert From Query” at task dialog.

then show the wizard.
1. Set a PostgreSQL query.

2. Select a destination Redshift table and config fields.

3. Preview data.

4. Transfer data from PostgreSQL query result to Redshift table.

More about PostgreSQL to Redshift converter
See also:
- Copy PostgreSQL table data to Redshift
- Merge multiple similar PostgreSQL tables to 1 Redshift table
- Batch copy PostgreSQL tables to Redshift
PostgreSQL → Redshift reference
Type mapping
| Value kind | in PostgreSQL | in Redshift |
|---|---|---|
| Long text | text | varchar(max) |
| Binary | bytea | (none) |
| JSON | jsonb | super |
Dialect differences
Both PostgreSQL and Redshift are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in PostgreSQL | in Redshift |
|---|---|---|
| port | 5432 | 5439 |
| dates | timestamp, timestamptz, date, time | timestamp, date |
| long text | TEXT | VARCHAR(MAX) |
| binary | BYTEA | — |
Command line
| Side | Command |
|---|---|
| PostgreSQL | pg_dump or COPY ... TO |
| Redshift | UNLOAD to S3 |
| Redshift (load) | COPY from S3 |
| PostgreSQL (load) | COPY ... FROM |
No counterpart
- PostgreSQL values of kind Binary have nowhere to go in Redshift.
Convert your data online, free
Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.
