Re: [HACKERS] documentation typo in ALTER TABLE example - Mailing list pgsql-hackers

From Amit Langote
Subject Re: [HACKERS] documentation typo in ALTER TABLE example
Date
Msg-id 47d1b45e-5e58-5d0e-f739-8a34af5aeca3@lab.ntt.co.jp
Whole thread Raw
In response to Re: [HACKERS] documentation typo in ALTER TABLE example  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: [HACKERS] documentation typo in ALTER TABLE example
List 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




pgsql-hackers by date:

Previous
From: Ashutosh Sharma
Date:
Subject: Re: [HACKERS] Getting server crash on Windows when using ICU collation
Next
From: Christian Ullrich
Date:
Subject: Re: [HACKERS] Buildfarm failures on woodlouse (in ecpg-check)