Thread

Commits

  1. Clarify that --system reindexes system catalogs *only*

  1. reindexdb usage message about system catalogs

    Magnus Hagander <magnus@hagander.net> — 2021-09-28T14:15:22Z

    Reindexdb help has this for selection of what to reindex:
    
      -s, --system                 reindex system catalogs
      -S, --schema=SCHEMA          reindex specific schema(s) only
      -t, --table=TABLE            reindex specific table(s) only
    
    Is there a reason the "only" is missing from the -s option? AFAIK that's
    what it means, so the attached patch should be correct?
    
    -- 
     Magnus Hagander
     Me: https://www.hagander.net/
     Work: https://www.redpill-linpro.com/
    
  2. Re: reindexdb usage message about system catalogs

    Michael Paquier <michael@paquier.xyz> — 2021-09-29T03:09:57Z

    On Tue, Sep 28, 2021 at 04:15:22PM +0200, Magnus Hagander wrote:
    > Is there a reason the "only" is missing from the -s option? AFAIK that's
    > what it means, so the attached patch should be correct?
    
    I cannot think of a reason.  This seems historically inherited from
    pg_dump, and the option got added when the tool was moved from
    contrib/ to src/bin/ as of 85e9a5a.
    --
    Michael
    
  3. Re: reindexdb usage message about system catalogs

    Magnus Hagander <magnus@hagander.net> — 2021-10-27T14:30:33Z

    On Wed, Sep 29, 2021 at 5:10 AM Michael Paquier <michael@paquier.xyz> wrote:
    
    > On Tue, Sep 28, 2021 at 04:15:22PM +0200, Magnus Hagander wrote:
    > > Is there a reason the "only" is missing from the -s option? AFAIK that's
    > > what it means, so the attached patch should be correct?
    >
    > I cannot think of a reason.  This seems historically inherited from
    > pg_dump, and the option got added when the tool was moved from
    > contrib/ to src/bin/ as of 85e9a5a.
    >
    
    Thanks for the double check! Seems I forgot about this one, but I've
    backpatched and pushed it now.
    
    -- 
     Magnus Hagander
     Me: https://www.hagander.net/ <http://www.hagander.net/>
     Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>