question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error connecting to PostgreSQL 12beta1

See original GitHub issue

Description

Error connecting to PostgreSQL 12beta1

Server: PostgreSQL 12beta1,
Version: 2.1.0
Chat: https://gitter.im/dbcli/pgcli
Mail: https://groups.google.com/forum/#!forum/pgcli
Home: http://pgcli.com
postgres@windows-db:/postgres dbcli>
  File "c:\data\flash drive\portableapps\python\lib\threading.py", line 917, in _bootstrap_inner
                                         self.run()
  File "c:\data\flash drive\portableapps\python\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:\data\flash drive\portableapps\python\lib\site-packages\pgcli\completion_refresher.py", line 64, in _bg_refresh
    refresher(completer, executor)
  File "c:\data\flash drive\portableapps\python\lib\site-packages\pgcli\completion_refresher.py", line 106, in refresh_tables
    completer.extend_columns(executor.table_columns(), kind='tables')
  File "c:\data\flash drive\portableapps\python\lib\site-packages\pgcli\pgcompleter.py", line 203, in extend_columns
    for schema, relname, colname, datatype, has_default, default in column_data:
  File "c:\data\flash drive\portableapps\python\lib\site-packages\pgcli\pgexecute.py", line 568, in table_columns
    for row in self._columns(kinds=['r']):
  File "c:\data\flash drive\portableapps\python\lib\site-packages\pgcli\pgexecute.py", line 563, in _columns
    cur.execute(sql)
psycopg2.errors.UndefinedColumn: column def.adsrc does not exist
LINE 7:                         def.adsrc as default
                                ^

Your environment

  • Please provide your OS and version information: Windows 10
  • Please provide your CLI version: 2.1.0
  • What is the output of pip freeze command.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

13reactions
amjithcommented, Oct 24, 2019

I’ll see if I can do a release this weekend. In the meantime you can install from master directly using this command:

pip install -U https://github.com/dbcli/pgcli/archive/master.zip
8reactions
Globegittercommented, Oct 22, 2019

Any chance of releasing a new version with a fix, since psql 12 is out now?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PostgreSQL 12 Beta 1 Released!
The PostgreSQL Global Development Group announces that the first beta release of PostgreSQL 12 is now available for download.
Read more >
Can connect to postgres container through shell but not ...
My app is an umbrella app, where the phoenix app, auction_web , does not use a database, rather the auction app and its...
Read more >
PostgreSQL 12 Beta 1 Released - Hacker News
The biggest news for me is that PostgreSQL 12 now really supports case-insensitive collations! CREATE COLLATION case_insensitive ( provider ...
Read more >
Connecting to a DB instance running the PostgreSQL ...
Connect to a DB instance running the PostgreSQL database engine working with Amazon RDS. ... Error – Could not connect to server: Connection...
Read more >
PostgreSQL 12 Beta 1 New Features with Examples (English)
PostgreSQL 12 Beta1 New Features With Examples. ... PostgreSQL 12 Beta 1 New Features with Examples (English) ... Maximum number of connections.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found