Re: Make name optional in CREATE STATISTICS

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make name optional in CREATE STATISTICS
Date: 2022-05-15 14:12:33
Message-ID: CAFj8pRC1F9rFCyy+5S3HkA-vH+psvtSHeAkV-6PUfnZ5k7yh6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ne 15. 5. 2022 v 14:20 odesílatel Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
napsal:

> Currently, CREATE STATS requires you to think of a name for each stats
> object, which is fairly painful, so users would prefer an
> automatically assigned name.
>
> Attached patch allows this, which turns out to be very simple, since a
> name assignment function already exists.
>
> The generated name is simple, but that's exactly what users do anyway,
> so it is not too bad.
>
>
good idea

Pavel

> Tests, docs included.
>
> --
> Simon Riggs http://www.EnterpriseDB.com/
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-05-15 15:11:10 Re: Asynchronous and "direct" IO support for PostgreSQL.
Previous Message Julien Rouhaud 2022-05-15 12:58:42 Re: make MaxBackends available in _PG_init