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.

21.0.3 and PostgreSQL: completion somewhat broken

See original GitHub issue

System information:

  • Operating system (distribution) and version Debian/SID
  • DBeaver version 21.0.3.202104181339
  • Java version 15.0.2
  • Additional extensions

Connection specification:

  • Database name and version PostgreSQL 12
  • Driver name pgjdbc 1.1.5
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you’re observing:

Completion has always been a bit awkward, but since yesterday’s update in a query like SELECT * FROM table_a, table_b colum names of table_b are not proposed anymore, neither in SELECT nor in WHERE Log shows nothing.

Additionally, in simple queries with just one table in SELECT for some, not all, letters the table name appears as top proposal, although the name does not contain that letter, nor does the table name make much sense in the SELECT clause

Steps to reproduce, if exist:

Include any warning/errors/backtraces from the logs

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
renezitocommented, Apr 30, 2021

The problem is in Oracle too. In version 21.0.2 everything is fine, like @JamesInform indicated. But in 21.0.3 doesn’t work. I maked a video with the evidence:

https://drive.google.com/file/d/1SbxPmU9hg13AeN-OrVXFJYTGekG9-tZk/view?usp=sharing

https://user-images.githubusercontent.com/37661233/116725410-dd2cbe00-a9af-11eb-9772-0c3b30f36a32.mp4

2reactions
JamesInformcommented, Apr 22, 2021

I experience the same issue on DBeaver 21.0.3 using PostgreSQL 13. On 21.0.2. everything is fine.

When I simply type

select * from mytab where

then no autocompletion is available after the “where” keyword. No field from the table is listed. Wether automatically nor hitting ctrl+space.

if give an alias to the table like

select * from mytab m where m.

then everything works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes - PostgreSQL
Below is the complete archive of release notes for every version of PostgreSQL. PostgreSQL 15. 15.1 · 15.0. PostgreSQL 14.
Read more >
DBeaver user guide
Invalidate/Reconnect. Checks the status of connection, if it is broken, attempts to reconnect. Disconnect. Disconnects from the database. SQL Editor.
Read more >
Changelog - Nextcloud
Nextcloud Hub comes with a number of new apps which get installed by default on installation (but not shipped as part of the...
Read more >
Is a Postgres long-running query aborted if the connection is ...
It'll pretty much always see the interrupt and abort before completing and committing if it's autocommit, though. If the client is killed by ......
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