Re: STATISTICS retained in CREATE TABLE ... LIKE (INCLUDING ALL)?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tels <nospam-pg-abuse(at)bloodgate(dot)com>, Stephen Froehlich <s(dot)froehlich(at)cablelabs(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: STATISTICS retained in CREATE TABLE ... LIKE (INCLUDING ALL)?
Date: 2018-03-06 16:22:41
Message-ID: 20180306162241.xk5ooxvv5vurlp6b@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

David Rowley wrote:
> On 6 March 2018 at 11:43, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:

> > 4. See elsewhere in the thread about list_copy vs. list_concat :-)
>
> I saw that. Thanks for fixing. The only weird thing I see in the
> changes is that the comment here claims it makes a copy, but it does
> not.
>
> + * Right now, there's nothing to do here, so we just copy the list.

Agreed, changed.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-03-06 16:23:21 Re: pgsql: Clone extended stats in CREATE TABLE (LIKE INCLUDING ALL)
Previous Message Arthur Zakirov 2018-03-06 16:17:41 Re: [PROPOSAL] Shared Ispell dictionaries

Browse pgsql-novice by date

  From Date Subject
Next Message Max Fomichev 2018-03-10 10:31:46 GIN, pg_trgm and large table
Previous Message David Rowley 2018-03-06 07:21:24 Re: STATISTICS retained in CREATE TABLE ... LIKE (INCLUDING ALL)?