Re: Change Ownership Recursively - Mailing list pgsql-sql

From Adrian Klaver
Subject Re: Change Ownership Recursively
Date
Msg-id 4F4FD1AD.90501@gmail.com
Whole thread Raw
In response to Re: Change Ownership Recursively  (Carlos Mennens <carlos.mennens@gmail.com>)
Responses Re: Change Ownership Recursively  (Emi Lu <emilu@encs.concordia.ca>)
List pgsql-sql
On 03/01/2012 11:37 AM, Carlos Mennens wrote:
> I changed to the suggested database which is owned by 'Carlos' and did
> as instructed. Everything worked fine. Thank you!

In your previous post my guess is this:

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.

>
> On Thu, Mar 1, 2012 at 11:23 AM, Carlos Mennens
> <carlos.mennens@gmail.com>  wrote:
>> I did do a Google search for "PostgreSQL 9.1 change ownership
>> recursively" but either couldn't find what I was looking for or
>> missed it.
>
> On Thu, Mar 1, 2012 at 1:36 PM, Adrian Klaver<adrian.klaver@gmail.com>  wrote:
>> For future reference including the Postgres version would be
>> helpful. This area ownership/grants/etc has undergone a lot of changes over
>> the various versions.
>
> I specified above I was using 9.1 PostgreSQL.

Oops, my mistake, I never got to the PS:(


-- 
Adrian Klaver
adrian.klaver@gmail.com


pgsql-sql by date:

Previous
From: Carlos Mennens
Date:
Subject: Re: Change Ownership Recursively
Next
From: Rehan Saleem
Date:
Subject: How To Create Temporary Table inside a function