forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb6e132d
committed
In psql, restore old behavior of Query_for_list_of_functions.
Historically, tab completion for functions has offered the names ofaggregates as well. This is essential in at least one context, namelyGRANT/REVOKE, because there is no GRANT ON AGGREGATE syntax. Thereare other cases where a command that nominally is for functions willallow aggregates as well, though not all do.Commitfd1a421 changed this query to disallow aggregates, but thatdoesn't seem to have been thought through very carefully. Change itto allow aggregates (but still ignore procedures).We might at some point tighten this up, but it'd require sorting throughall the uses of this query to see which ones should offer aggregatenames and which shouldn't. Given the lack of field complaints aboutthe historical laxity here, that's work I'm not eager to do right now.Discussion:https://postgr.es/m/14268.1520283126@sss.pgh.pa.us1 parent5748f3a commitb6e132d
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
| 464 | + | |
464 | 465 |
| |
465 | 466 |
| |
466 | 467 |
| |
467 | 468 |
| |
468 | 469 |
| |
469 | 470 |
| |
470 | 471 |
| |
471 |
| - | |
| 472 | + | |
472 | 473 |
| |
473 | 474 |
| |
474 | 475 |
| |
|
0 commit comments
Comments
(0)