Make name optional in CREATE STATISTICS - Mailing list pgsql-hackers

From Simon Riggs
Subject Make name optional in CREATE STATISTICS
Date
Msg-id CANbhV-FGD2d_C3zFTfT2aRfX_TaPSgOeKES58RLZx5XzQp5NhA@mail.gmail.com
Whole thread Raw
Responses Re: Make name optional in CREATE STATISTICS
Re: Make name optional in CREATE STATISTICS
List pgsql-hackers
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.

Tests, docs included.

-- 
Simon Riggs                http://www.EnterpriseDB.com/

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: list of TransactionIds
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] New [relation] option engine