\d fails with "column c.relhasoids does not exist" in postgresql 12.1
See original GitHub issueDescription
Server: PostgreSQL 12.1 (Debian 12.1-1)
Version: 2.2.0
Chat: https://gitter.im/dbcli/pgcli
Home: http://pgcli.com
kh24@127:kh24> \d tablename
column c.relhasoids does not exist
LINE 2: ... c.relhasrules, c.relhastriggers, c.relhasoi...
^
Time: 0.007s
Your environment
OS: Debian testing pgcli version: 2.2.0
$ pip3 freeze
annexremote==1.3.1
asn1crypto==0.24.0
astroid==2.2.5
atomicwrites==1.3.0
attrs==19.3.0
backcall==0.1.0
beautifulsoup4==4.8.0
Brlapi==0.7.0
cachetools==3.1.1
certifi==2018.8.24
chardet==3.0.4
chrome-gnome-shell==0.0.0
cli-helpers==1.2.1
Click==7.0
configobj==5.0.6
cryptography==2.6.1
cupshelpers==1.0
cycler==0.10.0
datetime3==3.8.0
dbus-python==1.2.14
decorator==4.4.0
distro==1.3.0
distro-info==0.22
Django==2.2.5
dnspython==1.16.0
entrypoints==0.3
feedparser==5.2.1
flake8==3.7.8
future==0.17.1
git-annex-remote-googledrive==0.11.1
google-api-python-client==1.7.11
google-auth==1.6.3
google-auth-httplib2==0.0.3
gpg===1.13.1-unknown
html5lib==1.0.1
httplib2==0.11.3
humanize==0.5.1
idna==2.6
importlib-metadata==0.23
ipython==7.8.0
ipython-genutils==0.2.0
isort==4.3.21
jedi==0.14.0
json-rpc==1.12.1
keyring==18.0.1
keyrings.alt==3.1.1
kiwisolver==1.0.1
lazy-object-proxy==1.4.1
lesspass==8.0.1
libvirt-python==5.0.0
louis==3.11.0
lxml==4.4.1
Mako==1.0.7
Markdown==3.1.1
MarkupSafe==1.1.0
matplotlib==3.0.2
mccabe==0.6.1
more-itertools==7.2.0
musicbrainzngs==0.6
mutagen==1.40.0
nose==1.3.7
numpy==1.16.5
oauth2client==4.1.3
olefile==0.46
orgparse==0.1.2
packaging==19.2
parso==0.5.0
pexpect==4.6.0
pgcli==2.2.0
pgspecial==1.11.8
pickleshare==0.7.5
Pillow==6.2.0
pluggy==0.13.0
prompt-toolkit==2.0.9
psycopg2==2.8.4
py==1.8.0
pyasn1==0.4.7
pyasn1-modules==0.2.6
pycairo==1.16.2
pycodestyle==2.5.0
pycrypto==2.6.1
pycups==1.9.73
pycurl==7.43.0.2
PyDrive==1.3.1
pyflakes==2.1.1
Pygments==2.4.2
PyGObject==3.34.0
pylint==2.3.1
pyparsing==2.4.2
PyQt5==5.12.3
PySimpleSOAP==1.16.2
pysmbc==1.0.15.6
pytest==5.2.1
python-apt==1.8.4+b1
python-dateutil==2.7.3
python-debian==0.1.36
python-debianbts==2.8.2
pytz==2019.1
pyxattr==0.6.1
pyxdg==0.25
PyYAML==5.1.2
quodlibet==4.2.1
reportbug==7.5.3
reportlab==3.5.31
requests==2.21.0
rsa==4.0
scour==0.37
SecretStorage==2.3.1
service-factory==0.1.5
setproctitle==1.1.10
sip==4.19.19
six==1.13.0
soupsieve==1.9.4
sqlparse==0.3.0
tabulate==0.8.3
tenacity==5.1.1
terminaltables==3.1.0
traitlets==4.3.3
typed-ast==1.4.0
unattended-upgrades==0.1
uritemplate==3.0.0
urllib3==1.24.1
wcwidth==0.1.7
webencodings==0.5.1
wrapt==1.11.2
wxPython==4.0.7
youtube-dl==2019.8.2
zipp==0.6.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to fix "ERROR: column c.relhasoids does not exist" in ...
This is because in v. 12, table OIDs are no longer treated as special columns, and hence the relhasoids column is no longer...
Read more >ERROR: column c.relhasoids does not exist in Postgres 13
Hi All,. I am getting the below error when trying to describe the table. The postgres version is 13. Appreciate if some help...
Read more >column c.relhasoids does not exist" in Postgres?-postgresql
My pgadmin was running psql v12.0 so that wasn't the issue. I restarted pgadmin for a separate issue and the relhasoids issue went...
Read more >column rel.relhasoids does not exist" with PostgreSQL 12 and ...
The column relhasoids has been dropped from the system catalog pg_class in PostgreSQL v12, because the long deprecated WITH OIDS clause has ......
Read more >BUG #16841: psql -- \d tablename , displays "Error : column c ...
... I get following message mydb=# \d tab1 ERROR: column c.relhasoids does not exist ... Some psql features might not work. regards, Sergei ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
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
@dyllandry I would uninstall pgcli and re-install using
pip
. This way, you are sure to have the latestpgcli
. OS packages, unfortunately, always lag behind - it’s hard for the OS package maintainers to keep up.@j-bennet Yes, thank you! I realized I did have installed an apt package
python3-pgspecial
that was lagging behind at v 1.9, it’s the newest version of pgspecial for Ubuntu 20.04. Uninstalling pgcli with apt and installing ubuntu 20.04’spython3-pip
to use it’spip3
binary to install pgcli worked!