| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | "sivapostgres(at)yahoo(dot)com" <sivapostgres(at)yahoo(dot)com>, Pgsql-general General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: How to detach a database |
| Date: | 2021-08-19 14:37:19 |
| Message-ID: | 1703941.1629383839@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Thursday, August 19, 2021, sivapostgres(at)yahoo(dot)com <sivapostgres(at)yahoo(dot)com>
> wrote:
>> Is there any way to make a PG database either in-active or switch to
>> single-user mode ? We want to avoid DELETE database process.
> Probably can do it via changing the pg_hba.conf file.
Either that or revoke public CONNECT privilege on the database.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rich Shepard | 2021-08-19 14:37:27 | Selecting table row with latest date |
| Previous Message | David G. Johnston | 2021-08-19 14:24:28 | Re: How to detach a database |