diff --git a/flow/connectors/postgres/postgres.go b/flow/connectors/postgres/postgres.go index a4df6246d3..c550ae1445 100644 --- a/flow/connectors/postgres/postgres.go +++ b/flow/connectors/postgres/postgres.go @@ -602,7 +602,9 @@ func (c *PostgresConnector) getTableSchemaForTable( pKeyCols, err := c.getPrimaryKeyColumns(schemaTable) if err != nil { - return nil, fmt.Errorf("error getting primary key column for table %s: %w", schemaTable, err) + if !isFullReplica { + return nil, fmt.Errorf("error getting primary key column for table %s: %w", schemaTable, err) + } } res := &protos.TableSchema{