Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Piotr Wolinski wrote:
>> It looks like pqsl \df command doesn't recognize regexp pattern.
> No, it doesn't use regexes, only shell patterns (* and ? only).
The case does work for \d though. It appears that \df is passing
force_escape = true to processSQLNamePattern. That's probably a
bug --- it makes sense for \do, but function names aren't special
so there's no reason to prevent people from using regexp patterns.
regards, tom lane