| From: | Anders Åstrand <anders(at)449(dot)se> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: [patch] Add support for connection strings to createuser and dropuser |
| Date: | 2026-02-23 12:37:35 |
| Message-ID: | d0b009f7-325a-4ff8-8a9a-c386bcd9271d@449.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2026-01-16 15:22, Anders Åstrand wrote:
> All of the other CLI tools seems to support connection strings via the
> PGDATABASE environment variable and the --maintenance-db command line
> option, but this functionality is missing from createuser and
> dropuser. Attached is a patch to bring them up to par with the other
> CLI tools.
>
> There is an argument to be made for renaming or aliasing the
> --maintenance-db parameter as --connection-string or similar for all
> of these tools of course, but all of the others (except createdb and
> dropdb afaics) accepts a "raw" connection string on the command line
> so it might not matter much for them.
>
The idea behind this patch was to add support for OAuth to these tools
in the same way as it's supported for other CLI tools, but maybe the
interest in keeping these tools maintained is so low we could just
remove them instead?
--
Anders Åstrand
Percona
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amul Sul | 2026-02-23 13:20:01 | Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement |
| Previous Message | Jakub Wartak | 2026-02-23 12:35:38 | Re: pg_stat_io_histogram |