Re: 8.5alpha3 bug in information_schema.table_privileges - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 8.5alpha3 bug in information_schema.table_privileges
Date
Msg-id 23279.1263261429@sss.pgh.pa.us
Whole thread Raw
In response to 8.5alpha3 bug in information_schema.table_privileges  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-hackers
Robert Treat <xzilla@users.sourceforge.net> writes:
> pagila=# select * from information_schema.table_privileges;
> TRAP: FailedAssertion("!(idx[0] < (((int *) (((char *) (acl)) + 
> sizeof(ArrayType)))[0]))", File: "acl.c", Line: 1740)
> server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.

Hmm, looks like somebody forgot to consider the case of a zero-element
ACL array ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: damage control mode
Next
From: Robert Haas
Date:
Subject: Re: damage control mode