"PostgreSQL Bugs List" <[EMAIL PROTECTED]> writes:
> pg_dump produces the following grants:
> GRANT INSERTSELECTUPDATE ON TABLE camp_score TO mn;

Doesn't happen for anybody else...

> Obviously there are no commas or spaces seperating the different privs.  I'm 
> actually running the following version: PostgreSQL 7.3.6 on 
> i386-pc-solaris2.8, compiled by cc -fast -xarch=386 -Xa 

I'm wondering about a buggy compiler.  The code involved is much too
simple to be broken: it's repeated calls to this:

static void
AddAcl(char *aclbuf, const char *keyword)
{
        if (*aclbuf)
                strcat(aclbuf, ",");
        strcat(aclbuf, keyword);
}

If *aclbuf contains zero on entry, then why isn't the strcat overwriting
instead of appending?  Looks like a compiler bug to me.  What is "-fast"
and does the problem go away if you don't use it?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to