Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Contributors:
* Charalampos Stratakis
* Laszlo Bimba (bimlas)
* Anjanna
* Shayan Golshani (shgol)

Creator:
--------
Expand Down
1 change: 1 addition & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Bug fixes:
* Fix trailing SQL comments preventing query submission and execution.
* ``SELECT 1; -- note`` now submits correctly in multiline mode
* ``rstrip(";")`` in ``pgexecute.py`` now handles comments after the semicolon
* Fix completion crash when tables are created during refresh.

4.4.0 (2025-12-24)
==================
Expand Down
2 changes: 2 additions & 0 deletions pgcli/pgcompleter.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ def extend_columns(self, column_data, kind):
has_default=has_default,
default=default,
)
metadata.setdefault(schema, {})
metadata[schema].setdefault(relname, OrderedDict())
metadata[schema][relname][colname] = column
self.all_completions.add(colname)

Expand Down