Hi Daniel,

currently the package upload hangs on the fact that
python-prompt-toolkit is one major version behind in testing/buster. I
might look into just patching the pgcli a little bit to avoid this
warning. I dont think I want to go through the process to get a new
major version of i think at least 2-3 python modules into buster while
in freeze.

Lennart

On 05.06.19 06:26, Daniel Baumann wrote:
> 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