Re: default namespace (schema) confusion - Mailing list pgsql-hackers

From Tom Lane
Subject Re: default namespace (schema) confusion
Date
Msg-id 13704.1034907601@sss.pgh.pa.us
Whole thread Raw
In response to default namespace (schema) confusion  (Carl Anderson <candrsn@mindspring.com>)
Responses Re: default namespace (schema) confusion  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Carl Anderson <candrsn@mindspring.com> writes:
> this use of "@" in the default schema is a bit counter intuitive
> so I offer the following patch against CVS

Hmm, this seems like a wart, but then the db_user_namespace feature
is an acknowledged wart already.

I think I'd be willing to hold still for this if it happens only when
db_user_namespace is on.  Comments anyone?

> +                    uname_local = (char *) 
> malloc(strlen(uname)); +                    strcpy 
> (uname_local,uname);

Use pstrdup, please.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Carl Anderson
Date:
Subject: default namespace (schema) confusion
Next
From: Bruce Momjian
Date:
Subject: Re: default namespace (schema) confusion