On 07/11/2017 12:45 AM, Tom Lane wrote:
rihad <rihad@xxxxxxx> writes:
On 07/10/2017 11:07 PM, Tom Lane wrote:
... which that isn't. I'd suggest checking for indexes that might need
to be rebuilt with this query borrowed from the regression tests:
I ran the query on our production database. Zero results.
Really? You have no indexes on textual columns? That seems surprising.
Oops, of course we do, around 10-15 per db. I was initially connected to
the postgres database when I ran the query, I thought the query you gave
me was global by looking at it.
So, deciding NOT to reindex all of them risks the corruption of their
relevant tables?
It could be easier to simply drop and restore the db, albeit with some
downtime.
Thank you so much for you help.
Do I have the green light to
set datcollate='en_US.UTF-8', datctype='en_US.UTF-8'
Well, I'd double-check that result, but I suppose you can always reindex
later if you find you missed something.
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general