From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Ray Stell <stellr(at)vt(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] pg_upgrade -u |
Date: | 2013-06-29 03:59:58 |
Message-ID: | 51CE5BBE.3010801@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 6/28/13 9:43 PM, Bruce Momjian wrote:
> On Fri, Jun 28, 2013 at 09:15:31PM -0400, Peter Eisentraut wrote:
>> On 6/28/13 6:06 PM, Bruce Momjian wrote:
>>> On Wed, May 29, 2013 at 09:44:00AM -0400, Peter Eisentraut wrote:
>>>> On 5/28/13 10:55 PM, Bruce Momjian wrote:
>>>>> Wow, I never realized other tools used -U for user, instead of -u.
>>>>> Should I change pg_upgrade to use -U for 9.4? I can keep supporting -u
>>>>> as an undocumented option.
>>>>
>>>> It seems to me that that option shouldn't be necessary anyway.
>>>> pg_upgrade should somehow be able to find out by itself what the
>>>> superuser of the old cluster was.
>>>
>>> Uh, any idea how to do that?
>>
>> select rolname from pg_authid where oid = 10;
>
> Uh, how do I know what username to connect as to issue that query?
single-user mode?
From | Date | Subject | |
---|---|---|---|
Next Message | Jeremy Palmer | 2013-06-29 07:36:45 | Generate documentation from PL/pgsql source code? |
Previous Message | Adrian Klaver | 2013-06-29 03:58:20 | Re: Cleaning up a text import |
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2013-06-29 04:28:47 | Re: New regression test time |
Previous Message | Robert Haas | 2013-06-29 03:14:23 | Re: MVCC catalog access |