Error when trying to connect to redshift db
See original GitHub issueAfter installing pgcli using brew, I get the following error when I try to connect to a redshift DB:
Traceback (most recent call last):
File "/usr/local/Cellar/pgcli/0.17.0/libexec/bin/pgcli", line 9, in <module>
load_entry_point('pgcli==0.17.0', 'console_scripts', 'pgcli')()
File "/usr/local/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 664, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 644, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/site-packages/click-4.0-py2.7.egg/click/core.py", line 464, in invoke
return callback(*args, **kwargs)
File "/usr/local/Cellar/pgcli/0.17.0/libexec/lib/python2.7/site-packages/pgcli/main.py", line 416, in cli
pgcli.run_cli()
File "/usr/local/Cellar/pgcli/0.17.0/libexec/lib/python2.7/site-packages/pgcli/main.py", line 197, in run_cli
self.refresh_completions()
File "/usr/local/Cellar/pgcli/0.17.0/libexec/lib/python2.7/site-packages/pgcli/main.py", line 351, in refresh_completions
completer.set_search_path(pgexecute.search_path())
File "/usr/local/Cellar/pgcli/0.17.0/libexec/lib/python2.7/site-packages/pgcli/pgexecute.py", line 244, in search_path
cur.execute(self.search_path_query)
psycopg2.ProgrammingError: function unnest(name[]) does not exist
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
Any idea what might be causing this?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Troubleshoot Amazon Redshift connection errors
Invalid operation connection error · 1. Open the Amazon Redshift console. · 2. Choose the Config tab. · 3. Modify the parameter group...
Read more >can't connect to redshift database - Stack Overflow
I'm trying to connect to Redshift database from SQL Workbench/J using Postgre JDBC drivers but I can't get through. I get this error...
Read more >Troubleshooting Amazon Redshift connection problems
Troubleshooting · Step 1. Test the connection · Step 2. Check for VPC peering or DNS error · Step 3. Check the VPC...
Read more >Amazon Redshift Connection Error - How to Troubleshoot the ...
This indicates a permissions issue with accessing the Amazon Redshift cluster. To resolve this, we do the following: For cluster in an Amazon ......
Read more >Amazon Redshift Connection Error - using Connect In-DB tool
SQLDriverConnect: [Amazon] [Amazon Redshift] (10) Error occured while trying to connect: [SQLState 08S01] could not connect to server: ...
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 Free
Top 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
This is now available in v1.0. Please upgrade.
@amjith There are something to do with redshift? support or a new CLI for that? RedShift is being each time more usefull, we migrate some PG do RedShift here in my enviroment.