Re: [BUGS] Server crash while trying to read expression using pg_get_expr() - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: [BUGS] Server crash while trying to read expression using pg_get_expr()
Date
Msg-id alpine.BSO.2.00.1006091322140.8548@leary.csoft.net
Whole thread Raw
In response to Re: [BUGS] Server crash while trying to read expression using pg_get_expr()  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: [BUGS] Server crash while trying to read expression using pg_get_expr()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On Wed, 9 Jun 2010, Heikki Linnakangas wrote:

> Are you thinking we should retrict pg_get_expr() to superusers then?
>

That seems like it will cause problems for both pg_dump and drivers which 
want to return metadata as pg_get_expr has been the recommended way of 
fetching this information.

The JDBC driver uses pg_get_expr to decode both pg_attrdef.adbin and 
pg_index.indpred.

Kris Jurka


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Adding XMLEXISTS to the grammar
Next
From: Robert Haas
Date:
Subject: Re: [BUGS] Invalid YAML output from EXPLAIN