Re: Change Ownership Recursively - Mailing list pgsql-sql

From Emi Lu
Subject Re: Change Ownership Recursively
Date
Msg-id 4F50FBA0.3070808@encs.concordia.ca
Whole thread Raw
In response to Re: Change Ownership Recursively  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-sql

> iamunix=# \c postgres
>
> was really meant to be:
>
> iamunix=# \c - postgres
>
> The first changes to database postgres as current user, the second
> changes the user while remaining on the current database.

This is very helpful!

psql> \c - username_for_new_connection

--
Emi



pgsql-sql by date:

Previous
From: Mario Marín
Date:
Subject: Re: How to shrink database in postgresql
Next
From: Samuel Gendler
Date:
Subject: Re: How To Create Temporary Table inside a function