Re: documentation typo in ALTER TABLE example

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, nagata(at)sraoss(dot)co(dot)jp
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: documentation typo in ALTER TABLE example
Date: 2017-06-12 05:16:52
Message-ID: 47d1b45e-5e58-5d0e-f739-8a34af5aeca3@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2017/06/12 11:01, Tatsuo Ishii wrote:
>> Hi,
>>
>> Attached is a simple patch to fix a documentation typo in
>> the ALTER TABLE example.
>
> Or the original author's intention might have been something like
> this:
>
> --- a/doc/src/sgml/ref/alter_table.sgml
> +++ b/doc/src/sgml/ref/alter_table.sgml
> @@ -1399,7 +1399,7 @@ ALTER TABLE cities
> Detach a partition from partitioned table:
> <programlisting>
> ALTER TABLE cities
> - DETACH PARTITION measurement_y2015m12;
> + DETACH PARTITION cities_ab;
>
> Amit Langote, which one was your intention?

I wanted to show DETACH PARTITION command's usage with a range partitioned
table (detaching the "oldest" partition).

So, we should apply Nagata-san's patch.

Thanks,
Amit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christian Ullrich 2017-06-12 05:53:40 Re: Buildfarm failures on woodlouse (in ecpg-check)
Previous Message Ashutosh Sharma 2017-06-12 04:38:18 Re: Getting server crash on Windows when using ICU collation