Re: psql \df choose functions by their arguments

David Christensen <david@pgguru.net>

From: David Christensen <david@pgguru.net>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org
Date: 2020-11-01T17:05:25Z
Lists: pgsql-hackers
> * Removed the tab-complete bit, it was too fragile and unhelpful

I can’t speak for the specific patch, but tab completion of proc args for \df, \ef and friends has long been a desired feature of mine, particularly when you are dealing with functions with huge numbers of arguments and the same name which I have (sadly) come across many times in the wild. 

Removing this because it was brittle is fine, but would be good to see if we could figure out a way to have this kind of feature in psql IMHO. 

Best,

David


Commits

  1. Allow psql's \df and \do commands to specify argument types.