How to update stavaluesN columns in pg_statistics (type anyarry) - Mailing list pgsql-general

From Keith Hayden
Subject How to update stavaluesN columns in pg_statistics (type anyarry)
Date
Msg-id a69d82000905220735s16582864ia97c614ad7eed9ef@mail.gmail.com
Whole thread Raw
Responses Re: How to update stavaluesN columns in pg_statistics (type anyarry)
List pgsql-general
Hi,
 
I need to spoof statistics, and so need to update the stavaluesN columns in pg_statistics, which are of type anyarray. Can this be done using an UPDATE statement ? I have tried using array[...] and '{...}' syntax with no luck. Any other ideas as to how to achieve this ?
 
Thanks,
Keith.

pgsql-general by date:

Previous
From: Brandon Metcalf
Date:
Subject: Re: question on serial key
Next
From: artacus@comcast.net
Date:
Subject: Re: Aggregate Function to return most common value for a column