pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Baziotis, Stefanos <sb54@illinois.edu>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Guarantees/Semantics of pg_stats
Date: Mon, 04 Mar 2024 05:14:23 +0100
Message-ID: <d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at> (raw)
In-Reply-To: <PH8PR11MB80617A8AD363DE13E5433736AB5D2@PH8PR11MB8061.namprd11.prod.outlook.com>
References: <PH8PR11MB8061725CB9BACBED45D76F77AB5D2@PH8PR11MB8061.namprd11.prod.outlook.com>
	<5843bce9be8d75bafb203b1a338b417721c5fedc.camel@cybertec.at>
	<PH8PR11MB80617A8AD363DE13E5433736AB5D2@PH8PR11MB8061.namprd11.prod.outlook.com>

On Sat, 2024-03-02 at 22:29 +0000, Baziotis, Stefanos wrote:
> Can I maybe get accurate information if the column has an index? In other words,
> are there any type of indexes through which I can get the number of distinct
> values or the values themselves, without needing to scan the column?

No.

Yours,
Laurenz Albe





view thread (4+ messages)

Message-ID: <d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at>
Permalink:  ../d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at/
Also on:    postgresql.org/message-id/d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, sb54@illinois.edu
  Subject: Re: Guarantees/Semantics of pg_stats
  In-Reply-To: <d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at>
  References: <PH8PR11MB8061725CB9BACBED45D76F77AB5D2@PH8PR11MB8061.namprd11.prod.outlook.com> <5843bce9be8d75bafb203b1a338b417721c5fedc.camel@cybertec.at> <PH8PR11MB80617A8AD363DE13E5433736AB5D2@PH8PR11MB8061.namprd11.prod.outlook.com> <d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox