Re: Make name optional in CREATE STATISTICS

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Make name optional in CREATE STATISTICS
Дата
Msg-id CAFj8pRC1F9rFCyy+5S3HkA-vH+psvtSHeAkV-6PUfnZ5k7yh6A@mail.gmail.com
обсуждение исходный текст
Ответ на Make name optional in CREATE STATISTICS  (Simon Riggs <simon.riggs@enterprisedb.com>)
Список pgsql-hackers


ne 15. 5. 2022 v 14:20 odesílatel Simon Riggs <simon.riggs@enterprisedb.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/

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: make MaxBackends available in _PG_init
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Asynchronous and "direct" IO support for PostgreSQL.