Package: pgcli
Version: 1.9.0-1

Hi Lennart,

when using pgcli in buster which has postgresql 11, I'll get the
following ugly warnings on start:

---snip---
$ sudo -u postgres pgcli
Version: 1.9.1
Chat: https://gitter.im/dbcli/pgcli
Mail: https://groups.google.com/forum/#!forum/pgcli
Home: http://pgcli.com
postgres> Exception in thread completion_refresh:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in runs-mode
Refreshing completions...
    self._target(*self._args, **self._kwargs)
  File "/usr/share/pgcli/pgcli/completion_refresher.py", line 68, in
_bg_refresh
    refresher(completer, executor)
  File "/usr/share/pgcli/pgcli/completion_refresher.py", line 146, in
refresh_functions
    completer.extend_functions(executor.functions())
  File "/usr/share/pgcli/pgcli/pgcompleter.py", line 224, in
extend_functions
    for f in func_data:
  File "/usr/share/pgcli/pgcli/pgexecute.py", line 612, in functions
    cur.execute(query)
psycopg2.ProgrammingError: column p.proisagg does not exist
LINE 8:                         p.proisagg is_aggregate,
                                ^
HINT:  Perhaps you meant to reference the column "p.prolang".


postgres>

Time: 0.000s
postgres>
---snap---

Regards,
Daniel

Reply via email to