What happens?
Attaching to Postgres using secrets will leak secret information in logs on failure.
To Reproduce
CREATE SECRET (
TYPE postgres,
PASSWORD 'MySecret'
);
ATTACH '' AS pgdb (TYPE postgres);
IO Error:
Unable to connect to Postgres at password='MySecret' : connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
OS:
MacOS
PostgreSQL Version:
DuckDB Version:
1.3.2
DuckDB Client:
CLI, Python
Full Name:
Mārtiņš Kalvāns
Affiliation:
NymTech
Have you tried this on the latest main branch?
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
What happens?
Attaching to Postgres using secrets will leak secret information in logs on failure.
To Reproduce
CREATE SECRET ( TYPE postgres, PASSWORD 'MySecret' ); ATTACH '' AS pgdb (TYPE postgres);OS:
MacOS
PostgreSQL Version:
DuckDB Version:
1.3.2
DuckDB Client:
CLI, Python
Full Name:
Mārtiņš Kalvāns
Affiliation:
NymTech
Have you tried this on the latest
mainbranch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?