Unix Technical Forum

Re: Upgrading from 7.4 to 8.1

This is a discussion on Re: Upgrading from 7.4 to 8.1 within the pgsql Admins forums, part of the PostgreSQL category; --> Thank you! Yes, there was a bogus user with a name ^c, which we dropped. Tom Lane wrote: > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:34 AM
Naomi Walker
 
Posts: n/a
Default Re: Upgrading from 7.4 to 8.1

Thank you! Yes, there was a bogus user with a name ^c, which we dropped.


Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>> What are the exact options? I tried to reproduce it here, using a 8.1
>> and 8.2 pg_dumpall, and a 7.4 server, and couldn't.

>
>>> CREATE ROLE "";
>>> ALTER ROLE "" WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB LOGIN;

>
>> This is weird anyway -- do you really have a role named "" (empty
>> string)?

>
> It's not "empty string", it's '\003' as shown by the failure:
>
> query was: SELECT useconfig[1] FROM pg_shadow WHERE usename = E'\003'
>
> The problem is evidently that appendStringLiteral tries to use E syntax
> in an inappropriate context, ie, while talking to a server that doesn't
> understand it. This is fixed in HEAD (by using appendStringLiteralConn)
> but I'm not sure if there is any very good way to fix it in the back
> branches.
>
> In the short term, Naomi's best workaround is surely to drop or rename
> that user ... it hardly seems likely that the name is anything but a
> typo.
>
> regards, tom lane



--
----------------------------------------------------------------------------
Naomi Walker Chief Information Officer
Eldorado Computing, Inc. nwalker@eldocomp.com 602-604-3100
----------------------------------------------------------------------------
Far and away the best prize that life offers is the chance to work hard at
work worth doing. - Theodore Roosevelt
----------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

Information transmitted by thisĀ*e-mail is proprietary to MphasiS and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that isĀ*privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this e-mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailmaster@mphasis.com and delete this mail from your records.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:47 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com