Can't connect to Greenplum server (psycopg2.ProgrammingError: column d.datcollate does not exist)
See original GitHub issueSo, after getting past the jedi
issue, I got pgcli to work on a local PostgreSQL instance. I’m now trying to connect to a Greenplum database (a distributed database built on top of PostgreSQL. Anything that can talk to vanilla Postgres should be able to talk to Greenplum…I’ve had no issues with, eg, pgAdmin or psycopg2). Here’s what happens:
$ pgcli postgresql://[username]:[password]@[host]/[dbname]
Traceback (most recent call last):
File "/usr/local/bin/pgcli", line 9, in <module>
load_entry_point('pgcli==0.10.0', 'console_scripts', 'pgcli')()
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/pgcli/main.py", line 86, in cli
refresh_completions(pgexecute, completer)
File "/usr/local/lib/python2.7/site-packages/pgcli/main.py", line 180, in refresh_completions
completer.extend_database_names(pgexecute.databases())
File "/usr/local/lib/python2.7/site-packages/pgcli/pgexecute.py", line 138, in databases
cur.execute(self.databases_query)
psycopg2.ProgrammingError: column d.datcollate does not exist
LINE 4: d.datcollate as "Collate",
Googling seems to turn up nothing.
Thanks again for your time.
Issue Analytics
- State:
- Created 9 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
psycopg2.ProgrammingError: column "your name" does not exist
to the PostgreSQL Database in Python I get this error: psycopg2.ProgrammingError: column "your name" does not exist , where 'your name' is the ......
Read more >psql | Pivotal Greenplum Docs
If the connection could not be made for any reason (insufficient privileges, server is not running, etc.), psql will return an error and...
Read more >postgresql error ... <class 'psycopg2.ProgrammingError ...
Hi, I'm getting the following error in my local installation with postgresql when using auth.define_tables(migrate=True): <class 'psycopg2.
Read more >Greenplum 6 - Changes - Amazon S3
Ability to define a COLLATE clause to a column (if collatable data type). ○ If not specified, the column data type's default collation...
Read more >ProgrammingError: column res_users.login_date does not exist
Hello I did upgrade from OpenERP Server 6.1-20121104-003211 to OpenERP Server 7.0-20131119-002500. No errors during this process.However I can not login to ...
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
This is now available in v1.0. Please upgrade.
+1 Using pgcli with Redshift, and getting the same error