Re: 8.5alpha3 bug in information_schema.table_privileges

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, robert(at)omniti(dot)com
Subject: Re: 8.5alpha3 bug in information_schema.table_privileges
Date: 2010-01-12 01:57:09
Message-ID: 23279.1263261429@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Treat <xzilla(at)users(dot)sourceforge(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-01-12 02:19:44 Re: damage control mode
Previous Message Josh Berkus 2010-01-12 01:52:23 Re: damage control mode