All Questions
Tagged with postgresql python
4 questions
1
vote
1
answer
2k
views
psycopg2.OperationalError: could not connect to server: No route to host Is the server running on host "db" and accepting TCP/IP connections on port
Following the instructions here was fine on openSUSE Tumbleweed with Docker version 20.10.6-ce, build 8728dd246c3a
https://github.com/mirumee/saleor-platform#how-to-run-it
But on openSUSE Leap 15.3 ...
-2
votes
2
answers
1k
views
Cannot create /proc/sys/vm/drop_caches: Permission denied
I am using python because i try to run some queries from psql in cold state in a for loop.So before the execution of every query my cache must be clear.I imported os and then i did this:
if state==&...
1
vote
0
answers
230
views
Catching the query results executed in the remote PostGreSQL server through expect command inside Python script
I want to catch the PostGres query results that gets executed in the remote server (passwordless-ssh) via expect command that is used to supply the password for the given PostGres user.
Actually, ...
1
vote
1
answer
808
views
Change default python distribution for postgres from the system's python (to Enthought Canopy)
On an RHEL6 system, I'd like my postGIS implementation (ie my postgres/postgresql databases) to use Enthought's Canopy distribution of python, rather than the built-in GNU's distribution. (This is ...