Re: BUG #19932: `repack (concurrently)` does not work in `psql` with `AUTOCOMMIT` set to `off`

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, phofstetter(at)sensational(dot)ch
Subject: Re: BUG #19932: `repack (concurrently)` does not work in `psql` with `AUTOCOMMIT` set to `off`
Date: 2026-11-23 23:16:56
Message-ID: CAN4CZFP7fk9v4tYeth=31xA-BwZTBzZdyQ=K=9rpSL7216nOGA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

+ if (pg_strncasecmp(option, "concurrently", 12))
+ /* XXX what if it's 'CONCURRENTLY OFF'? */
+ return true;
+ if (pg_strncasecmp(option, "analyze", 7))
+ /* XXX what if it's 'ANALYZE OFF'? */
+ return true;

Isn't also two == 0 missing from there?

+ option = skip_white_space(option);

and a +1 from there, and from the last skip?

And should it handle `repack;` and `repack using index;`?

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Fujii Masao 2026-11-24 01:29:20 Re: BUG #19895: dblink() never returns and spins at 100% CPU when the remote command is COPY ... TO STDOUT;
Previous Message Tom Lane 2026-11-23 22:56:44 Re: BUG #19761: btree_gist: "cannot subtract infinite dates" when inserting 'infinity' into a GiST index on date