Re: [GENERAL] accessing anyarray elements

2009-06-13 Thread Tom Lane
Michael Glaesemann writes: > I'd like to be able to access individual elements of anyarray, > treating them as type anyelement to take advantage of the > polymorphism. Using pg_stats.histogram_bounds as a convenient example > of an anyelement array, here's an example of the issue I'm running

[GENERAL] accessing anyarray elements

2009-06-12 Thread Michael Glaesemann
I'd like to be able to access individual elements of anyarray, treating them as type anyelement to take advantage of the polymorphism. Using pg_stats.histogram_bounds as a convenient example of an anyelement array, here's an example of the issue I'm running into. test_anyarray=# select ve