Re: Improve tab completion for ALTER FUNCTION/PROCEDURE/ROUTINE
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Dong Wook Lee <sh95119@gmail.com>, pgsql-hackers@postgresql.org
Date: 2022-11-22T06:18:58Z
Lists: pgsql-hackers
Attachments
- v3-0001-Tab-completion-for-ALTER-FUNCTION-PROCEDURE-ROUTI.patch (text/x-patch) patch v3-0001
On Tue, 22 Nov 2022 at 05:59, Michael Paquier <michael@paquier.xyz> wrote:
>
> On Fri, Oct 28, 2022 at 05:34:37PM +0530, vignesh C wrote:
> > Those also should be handled, attached v2 version includes the changes
> > for the same.
>
> The basic options supported by PROCEDURE are a subset of ROUTINE with a
> difference of COST, IMMUTABLE, [NOT] LEAKPROOF, ROWS, STABLE
> and VOLATILE.
>
> The basic options supported by ROUTINE are a subset of FUNCTION with a
> difference of { CALLED | RETURNS NULL } ON NULL INPUT, STRICT and
> SUPPORT. Is it worth refactoring a bit with common lists?
Modified
> + "RESET", "RETURNS NULL ON NULL INPUT ", "ROWS",
> Extra space after INPUT here, that's easy to miss.
Good catch, the attached v3 patch has the changes for the same.
Regards,
Vignesh
Commits
-
Fix tab completion of ALTER FUNCTION/PROCEDURE/ROUTINE ... SET SCHEMA.
- e7a59094b36a 16.0 landed
- 2daf4664ce54 15.2 landed
- 48599a18d079 14.7 landed
- 2ad4abedfeec 13.10 landed
- 274185d116f4 12.14 landed
- c54b88870081 11.19 landed
-
Improve tab completion for ALTER FUNCTION/PROCEDURE/ROUTINE.
- a3bc631ea96a 16.0 landed