Column p.proisagg does not exist
See original GitHub issueDescription
So after getting a fresh installation of a PostgreSQL server and login into with pgcli I get the following error:
➜ pgcli -h localhost -p 5432 -U postgres -W postgres -d postgres
Password:
Exception in thread completion_refresh:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/share/pgcli/pgcli/completion_refresher.py", line 58, in _bg_refresh
refresher(completer, executor)
File "/usr/share/pgcli/pgcli/completion_refresher.py", line 100, in refresh_functions
completer.extend_functions(executor.functions())
File "/usr/share/pgcli/pgcli/pgcompleter.py", line 133, in extend_functions
for f in func_data:
File "/usr/share/pgcli/pgcli/pgexecute.py", line 384, in functions
cur.execute(self.functions_query)
psycopg2.ProgrammingError: column p.proisagg does not exist
LINE 6: p.proisagg is_aggregate,
^
HINT: Perhaps you meant to reference the column "p.prolang".
Nonetheless this error I can keep using pgcli.
Your environment
Ubuntu 16.04.5 LTS
pgcli -v
Version: 0.20.1
postgres> select version();
+----------------------------------------------------------------------------------------------------------------------------------+
| version |
|----------------------------------------------------------------------------------------------------------------------------------|
| PostgreSQL 11.1 (Debian 11.1-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit |
+----------------------------------------------------------------------------------------------------------------------------------+
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
PostgreSQL 11 error: column p.proisagg does not exist
prokind (PostgreSQL 11) is a char taking the values 'f', 'p', 'a' or 'w' (see Erwin's answer above). Thus, for every occurence of...
Read more >ERROR: column p.proisagg does not exist · Issue #537 - GitHub
Seeing a warning/error that I don't see with latest official release 6.0.0. ... ERROR: column p.proisagg does not exist #537.
Read more >Error: column p.proisagg does not exist in PostgreSQL 11
I've been using navicat version 12 and postgres version 11. Is there any conflict in terms of versioning between the two extension? Some ......
Read more >column p.proisagg does not exist (3 Solutions!!) - YouTube
Databases: PostgreSQL 11 error: column p. proisagg does not existHelpful? Please support me on Patreon: ...
Read more >phpPgAdmin / Bugs / #469 column p.proisagg does not exist
ERROR : column p.proisagg does not exist LINE 18: WHERE NOT p.proisagg ^ HINT: Perhaps you meant to reference the column "p.prolang".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Abhinickz Try updating:
pip install -U pgcli
. Your version is 1.9.1 and the fix was added in 2.0.2.Confirming that this works. I am using Ubuntu 18.04 via WSL2, and when I
sudo apt install pgcli
the version is 1.6. Usingsudo apt install python3-pip
andpip3 install pgcli
the installed version is now 3.1.0.EDIT: My postgresql version is 11.