postgres-github.git / summary / log / commit / refs

commit    a120ecf549853da9fda32e4f80ecd8060531d7b5
Author:   Fujii Masao <fujii@postgresql.org>
Date:     Mon May 18 04:14:49 2026 +0000

    Fix parsing of REPACK options
    
    Previously, REPACK option parsing had two bugs.
    
    First, REPACK (CONCURRENTLY OFF) failed with:
    
        ERROR:  unrecognized REPACK option "concurrently"
    
    while CONCURRENTLY ON was accepted correctly.
    
    Second, when the same option was specified multiple times, the last value
    specified was not always honored. If any occurrence set the option to ON,
    the option was treated as enabled even when the final setting was OFF.
    
    This commit fixes these issues by correctly accepting CONCURRENTLY
    regardless of its value, and by making the last specified value take precedence
    when an option appears multiple times.
    
    Author: Fujii Masao <masao.fujii@gmail.com>
    Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
    Discussion: https://postgr.es/m/CAHGQGwGAY4kfDtC4i+hAOX-a3u0yOA6__6EDTQz-ytsDHgh-yQ@mail.gmail.com

[parent: 26269fe3c83b]