AW: AW: No result when selecting attstattarget from pg_attribute

"William Sescu (Suva)" <[email protected]> Thu, 28 Nov 2019 15:40:29 +0000
Newsgroups gmane.comp.db.postgresql.admin
Message-ID <[email protected]>
Thanks. It looks like that I have mixed up there a few things.
Now it's clear.

-----Ursprüngliche Nachricht-----
Von: Tom Lane <[email protected]>
Gesendet: Donnerstag, 28. November 2019 16:29
An: Sescu William (SW0) <[email protected]>
Cc: [email protected]
Betreff: Re: AW: No result when selecting attstattarget from pg_attribute

"William Sescu (Suva)" <[email protected]> writes:
> Thank you Tom for clarification. However, in regards of pg_upgrade,
> which does not transfer statistics, how do I know how to create the "CREATE STATISTICS" on the new PostgreSQL version?

You are apparently confusing the *definition* of a statistics object with the *content*.  pg_upgrade will certainly transfer the former.
Run ANALYZE to re-fill the latter.

regards, tom lane

________________________________

Disclaimer:

Diese Nachricht und ihr eventuell angehängte Dateien sind nur für den Adressaten bestimmt. Sie kann vertrauliche oder gesetzlich geschützte Daten oder Informationen beinhalten. Falls Sie diese Nachricht irrtümlich erreicht hat, bitten wir Sie höflich, diese unter Ausschluss jeglicher Reproduktion zu löschen und die absendende Person zu benachrichtigen. Danke für Ihre Hilfe.

This message and any attached files are for the sole use of the recipient named above. It may contain confidential or legally protected data or information. If you have received this message in error, please delete it without making any copies whatsoever and notify the sender. Thank you for your assistance.
smime.p7s (application/pkcs7-signature, 5.3 KB) - not displayed