pgAdmin

Building pgadmin3-1.20.0 in CentOS 7 with PostgreSQL-9.4

荒凉一梦 提交于 2019-12-12 01:53:08
问题 I want to build pgadmin3-1.20.0 in CentOS 7, so I enter: ./configure But I got this error: configure: error: Could not find your PostgreSQL installation. You might need to use the --with-pgsql=DIR configure option And when I use following command: ./configure --with-pgsql=/usr/pgsql-9.4/ this error will be raised: configure: error: you must specify a valid PostgreSQL 8.4+ installation with --with-pgsql=DIR Pgsql is up and has not any problem. How can I fix this error. 回答1: have you tried to

pgAdmin III Server doesn't listen

北城余情 提交于 2019-12-11 23:49:32
问题 I'm aware that this issue has been asked multiple times, but after searching for hours and trying multiple solutions, nothing has worked for me. Issue: I cannot connect remotely to my postgresql-9.3 server using pgAdmin III. The postgres server is on RHEL6 and pgAdmin GUI is on Windows. pg_hba.conf file: I've just ended up allowing all connections until I figure out the issue. local all all trust # IPv4 local connections: host all all 0.0.0.0/0 trust # IPv6 local connections: host all all ::1

permission error when populating a table in PostGreSQL copying from a csv file

瘦欲@ 提交于 2019-12-11 23:38:12
问题 I know this issue has already been raised by others, but even trying previous suggestions I still get this error... When I try to populate a table copying from a csv file, I get a permission error. COPY Eurasia FROM '/Users/Oritteropus/Desktop/eurasia1.csv' CSV HEADER; ERROR: could not open file "/Users/Oritteropus/Desktop/eurasia1.csv" for reading: Permission denied SQL state: 42501 As previously suggested in these cases, I changed the permission of the file (chmod 711 eurasia1.csv or chmod

Problem with postgresql and pgadmin docker containers

♀尐吖头ヾ 提交于 2019-12-11 15:19:09
问题 I'm trying to connect postgresql and pgadmin4 work together. pgadmin4 works fine but when I try to create a new server I have 2 problems: if the postgres container is at other port that is not 5432 it dont recognize that port. It show this error: could not connect to server: Connection refused Is the server running on host "172.17.0.5" and accepting TCP/IP connections on port 5431? if the postgres container is at port 5432 the error is FATAL: password authentication failed for user "example"

How to increase display length in pg admin tool [duplicate]

家住魔仙堡 提交于 2019-12-11 11:47:52
问题 This question already has an answer here : pgAdmin III Why query results are shortened? (1 answer) Closed 3 years ago . I have a dumb problem. Basically I just upgraded from pgsql 8.4 to 9.1 and upgrade to pgAdmin 1.20. I have some tables that have large text fields and in the previous query tool I could query a row and copy-paste the data out of it to modify. In this case, I had a table that stored queries that I could run. Once I upgraded to the new pgAdmin version, when I use the tool and

Connecting to remote server with pgadmin

Deadly 提交于 2019-12-11 09:43:49
问题 I'm using this tutorial from Linode: https://library.linode.com/databases/postgresql/pgadmin-macos-x to connect PGAdmin on my local machine to a databas on a remote server. It provides the script copied below which I'm supposed to run by doing this chmod +x postgresql-tunnel.pl ./postgresql-tunnel.pl start However when I do it, I get this error message in the terminal: michael$ ./postgresql-tunnel.pl start michael@192.XXX.XXX.XXX's password: bind: Address already in use channel_setup_fwd

postgresql multiple subqueries

≡放荡痞女 提交于 2019-12-11 06:28:44
问题 I have a task at hand which requires me to return the details of a student who is enrolled in a class taught by a teacher with the surname of Hoffman and I'm stuck. SELECT * FROM Public."Class" WHERE tid=( SELECT tid FROM Public."Tutor" WHERE tname LIKE '%Hoffman'); This returns to me the classes taught by Hoffman but from here I'm not sure where to go. I believe I have to access the 'Enrolled' table and then finally the student table but have tried to no avail. The following query is as far

pgadmin crash when click SQL query button

孤街醉人 提交于 2019-12-11 05:45:09
问题 I installed pgAdmin 3 on my windows 64bit system, when I connect to some server, click on the SQL button to execute some script, it crashed, i checked the error log, it says 2012-08-05 08:10:00 ERROR : ERROR: permission denied to create extension "adminpack" HINT: Must be superuser to create this extension. Can you help me to solve this problem? thanks! 回答1: adminpack is an optional extension. pgAdmin should definitely not crash if you don't have it installed. You can try to install it

Export “Create Aggregate” functions from PostgreSQL

Deadly 提交于 2019-12-11 02:58:02
问题 I have created some user defined aggregate functions. However, I cannot see a way to export them in pgAdmin. Or any other way. I can see the underlying functions, but not the CREATE AGGREGATE definitions. SquirrelSQL doesn't show anything useful either! 回答1: Most probably you need to enable the display of aggregates in your Options: File -> Options -> Browser -> Display After refreshing the view you get a separate node Aggregates in the object browser: The reverse engineered CREATE script for

pgAdmin4: Unable to connect to Amazon EC2 via SSH Tunnel

眉间皱痕 提交于 2019-12-11 01:48:31
问题 I have Amazon EC2 instance running Ubuntu. I have installed and configured PostgreSQL. Contents of the file /etc/postgresql/9.3/main/pg_hba.conf : local all all md5 host all all 0.0.0.0/0 md5 Also in postgresql.conf I have set listen_addresses='*' . The test command below is successfully starting psql console. psql -U postgres testdb Now I am trying to connect pgAdmin4 from MacOS. I have created a SSH tunnel with following command: ssh -i ~/.ssh/test.pem -fN -L 5433:localhost:5432 ubuntu