[PATCH] Tab completion for ALTER DATABASE … SET TABLESPACE
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker )
To: pgsql-hackers@postgresql.org
Date: 2018-08-30T16:44:02Z
Lists: pgsql-hackers
Attachments
Hi hackers, I just noticed that psql's tab completion for ALTER TABLE … SET TABLESPACE was treating it as any other configuration parameter and completing with FROM DEFAULT or TO after it, instead of a list of tablespaces. PFA a patch that fixes this. - ilmari -- "A disappointingly low fraction of the human race is, at any given time, on fire." - Stig Sandbeck Mathisen
Commits
-
Get rid of explicit argument-count markings in tab-complete.c.
- 4f3b38fe2bde 12.0 landed
-
Fix psql's tab completion for ALTER DATABASE ... SET TABLESPACE.
- a7c4dad1a770 12.0 landed