Questions tagged [pgadmin]
pgAdmin is an Open Source administration and development GUI for PostgreSQL.
1,870
questions
0
votes
1
answer
26
views
Unable to import a csv file in PgAdmin
I am trying to import a large csv file into PgAdmin using the built-in import feature and receiving a "column" error.
I also tried the following query for the table I'm creating:
COPY ...
0
votes
0
answers
5
views
how to correctly version qgis layer using pgversion
i get an error when trying to use pgversion plugin. I have attempted to add this table to the version db using the pgversion plugin.
has anyone seen this themselves if so can you help with the issue.
...
-1
votes
1
answer
19
views
why does PGADMIN 4 return more than one name?
id i the primary key and randomm gives me a random number
since there is only one id from 1 to 6 for every sales person why does pgsql return more than one
here's the code:
select concat(sales_person....
0
votes
0
answers
10
views
How do you use the .replace() function in a specific column?
I´m preparing a .csv file through Python to use it on SQL to do some queries.
This is a dataset about some films and they have strings and floats.
I have in the .csv file some values in a float column ...
0
votes
0
answers
36
views
Postgresql 16 initial config
Yesterday I installed postgre, the only thing I have done in my GNU/Linux system was to add the repositories and install! When I try to follow a tutorial to learn Postgres, I can not connect to the ...
0
votes
1
answer
21
views
How to use Kubernetes pod as jump server to connect to Postgres?
I have a pod in a K8s cluster that is allowed to connect into a PG cluster (outside K8s is firewalled).
What is the best way to get this working? I can't seem to get a connection established.
I've ...
-1
votes
0
answers
18
views
unsuccessful install of pgadmin4 - Kali Linux - Blocked Sudo Update [closed]
Since I've tried to install pgadmin4 to my Kali Linux (and didn't manage), all times that I try to apply a sudo update in the machine, I've received some errors:
enter image description here
I've ...
0
votes
2
answers
35
views
How to Get Current And Previous Year Total Amount SUM In Postgres
I have a table like
SR No
Name
Amount 1
Amount 2
Year
1
Crop1
1000
3000
2023
2
Crop2
2000
1000
2023
3
Crop3
5000
2500
2022
4
Crop4
1500
3500
2022
5
Crop5
3500
4500
2021
6
Crop6
9500
4000
2021
...
0
votes
0
answers
12
views
How can I Connect a postgres Database Inside Cloud9 IDE to Grafana and pgAdmin?
I'm currently working within the Cloud9 IDE developer environment, and I've created a database inside it. Now, I'm trying to establish a connection between this database and both Grafana and pgAdmin. ...
0
votes
3
answers
32
views
How To Get Financial Year Month(April to March) based on Year in Postgres
I need to get Financial Year Month(April to March) based on Year in Postgres Query...
Like if passing 2022 then I need to get(12 month list) April-2022 to March-2023 month list.
I have tried using ...
0
votes
1
answer
30
views
pgsql function cannot execute
I tried to execute this function:
CREATE OR REPLACE FUNCTION public.increases_chrono(
chrono_seq_name text,
chrono_id_name text)
RETURNS TABLE(chrono_id bigint)
LANGUAGE 'plpgsql'
...
0
votes
0
answers
14
views
psql tool not working in pgAdmin 4 7.4 even after enabling psql in config.py file and only showing prompt blinking?
I am using pgAdmin 4 v7 on windows 11. I have enabled the config.py file of the configuration file for server and wanted to use psql tool from pgAdmin but when I click on psql tool after connecting to ...
0
votes
0
answers
15
views
ERR_EMPTY_RESPONSE during pgAdmin login
I hosted pgAdmin on my VM using docker compose. The docker compose yml file is provided down below.
version: "3.8"
services:
db:
image: postgres
container_name: xyz-postgres-db
...
0
votes
1
answer
57
views
I cannot connect to postgres using pgAdmin. they both run in docker containers
i have got this docker compose file
version: "3.8"
services:
postgres:
container_name: postgres_container
image: postgres:latest
hostname: host.docker.internal
environment:...
0
votes
0
answers
20
views
How to upload NaN values to pgAdmin? ERROR: invalid input syntax for type double precision: ""
This is the error I got:
ERROR: invalid input syntax for type double precision: ""
CONTEXT: COPY Numbers-Sales-Film, line 2, column production_budget: ""
Dataset columns + first ...
0
votes
0
answers
39
views
PostgreSQL Upgrade from 13 to 15 causing pgAdmin connection to fail
We currently have a database hosted in pg 13.1 (with PostGIS 3.1.1) and we are keen to move to pg 15.3 (with PostGIS 3.3.3) all running on Windows 10.
I installed pg15 without issue. The pgAdmin 4 ...
0
votes
1
answer
10
views
How to fix the working panels in pgadmin 4
Hello I'm beginner and I'm having a problem fixing the working panels (eg. query tool, scratch pad and data output panel), as you can see in the screenshot everytime i resize pgadmin all 3 modules ...
0
votes
2
answers
38
views
Install PgAgent for PostgreSQL 9.6 on Windows Server 2019
I have PostgreSQL 9.6.23 on windows server 2019
i want to install PgAgent for scheduling backup and deletion of data
PostgreSQL Stack Builder's doesn't have PgAgent like newer version
How can i ...
-3
votes
1
answer
56
views
Inner query in where clause is taking time in postgres [closed]
I am trying to retrieve record from table which has maximum effect date but date should not be greater than current date , so I added inner query but after adding inner query it is taking long time to ...
1
vote
0
answers
19
views
Debugging in pgAdmin - "list index out of range"
I am trying to debug function in PostgreSql database using PG Admin Tools. I've done everything like in this topic:
pgadmin4-enable-debugging
Edit postgresql.conf, create extension and so on, but when ...
0
votes
1
answer
24
views
PgAdmin4 server list stuck infinitely loading but never loads my servers
I have looked everywhere for this issue and all I can see is connection related issues. I have no problem loading PgAdmin4 but the issue comes after I input my password and click the drop down server ...
0
votes
1
answer
36
views
Error when installing pgadmin4 on Raspberry PI
To install pgadmin4 on Raspberry Pi, I ran it by referring to the following document.
https://www.pgadmin.org/download/pgadmin-4-python/
But, I am getting error.
I tried like this:
$ sudo mkdir /var/...
0
votes
1
answer
147
views
PostgreSQL, PgAdmin launching error on macOS Ventura 13.5.1
I have a MacBook Air 2020 (macOS Ventura 13.5.1). Installed PostgreSQL, worked 5-6 days without any incidents (stable). Today launched, the initial page loads and displays an error.
Previously, when ...
1
vote
1
answer
47
views
I cannot connect to a AWS RDS database by tunnel ssh in pgAdmin
I have a AWS RDS serverless Aurora (with postgres compatibility) cluster attached to an EC2 machine in a VPC.
I set the security group to allow access to port 20 for the ssh tunnel.
If I try to access ...
0
votes
0
answers
123
views
"Connection timeout expired" error every time I try to connect to a server on pgAdmin 4
I am trying to learn SQL, through a Udemy course, so If answers could be easy to follow, that would be appreciated.
I am trying to connect to Postgre SQL 15, but every time I try to connect, I get the ...
0
votes
0
answers
60
views
pgadmin4 deployment not starting in kubernetes deployment - werkzeug websocket transport not available / 503 service unavailable
I'm trying to deploy and run an instance of pgadmin4 in a kubernetes environment (private cloud, an a shared kubernetes cluster) with readOnlyRootFilesystem + runAsNonRoot constraints, as well as ...
0
votes
0
answers
13
views
PGAdmin JSONB Array
I am trying to create a table with individual codes from the JSON Array element. Here is the JSONB I have:
"resource": {
{
"type": [
{
"text": &...
0
votes
1
answer
41
views
Postgresql invalid transaction termination when calling procedure
If I run the example code at https://www.postgresql.org/docs/current/plpgsql-transactions.html inside PgAdmin with autocommit off I get an error
CALL transaction_test1();
ERROR: invalid transaction ...
2
votes
1
answer
901
views
PgAdmin 4 Unexpectedly Quits on Mac OS
I'm using the M2 Mac Pro 14 and I've reinstalled PostgreSQL through Brew and pgAdmin4 through the web-site, separately. However, I'm facing an issue where I can't open PgAdmin 4; it keeps showing an &...
0
votes
0
answers
63
views
cannot connect postgresql running on localhost to pgadmin
i simply cannot connect pgadmin to the postgresql running on local host!
i followed the official Ubuntu document for setting postgres up. i can also access the db through terminal easily by using:
...
0
votes
0
answers
58
views
PostgreSQL Server Timeout Issue with pgAdmin
I am using PostgreSQL 15.4 on Ubuntu 22.04. Initially, I used pgAdmin 4 for managing the database. However, I've been facing an issue where pgAdmin stops responding after some time. This issue seems ...
0
votes
1
answer
22
views
Is getting a SSL certificate and key pair necessary for using PostgreSQL?
I recently installed pgadmin 4 and Posgtres Enterprise Manager after installing PostgreSQL v11. However I then encountered issues with SSL while trying to normally set up and use pgadmin and PEM.
In a ...
0
votes
0
answers
31
views
In Flutter, I aim to display dates in the format "dd-MM-yyyy," while ensuring that they are saved in the database using the format "yyyy-MM-dd."how?
Container(
color: Colors.white,
padding: const EdgeInsets.all(16.0),
child: Column(
...
-1
votes
1
answer
25
views
getting issue while running large psql query on EC2 instance
I have psql query which take one key at a time and keep updating other record in table.
like below
DO $$
DECLARE
i INT;
BEGIN
FOR i IN 1..10 LOOP
-- here we have 27 query's to run (...
0
votes
1
answer
43
views
Limit the visual column width display in PostgreSQL
How to visually limit the display of a column while still allowing the column to store values up to its maximum length in postgresql?
I do not mean truncating it as that is only temporary. When you ...
0
votes
4
answers
61
views
Inserting Case Statement into CREATE FUNCTION
I've been trying to insert a case statement into my create function statement and haven't had any luck. Just a heads up I am using pgadmin and postgresql. I have a table with rental movie titles, ...
-1
votes
1
answer
1k
views
ERROR: column "backend_type" does not exist LINE 16: backend_type, ^
I am running PgAdmin4 on macOS and I am trying to connect to a Postgres database (v9.6). When attempting connection, this message is displayed :
ERROR: column "backend_type" does not exist ...
0
votes
0
answers
62
views
PgAdmin4 cant find pgagent as an extension MacOS
I installed pgagent using EnterpriseDB's installer on MacOS. However, pgagent doesn't show up in pgadmin after the installation. Even when I try to manually add pgagent as an extension, I get the ...
0
votes
1
answer
60
views
No procedure matches the given name and argument types. You might need to add explicit type casts. POSTGRESQL
I apologize in advance for my English. I'm new to programming. There is a problem with stored procedures in PostgreSQL.
I have a table:
CREATE TABLE user
(
Id serial,
idGroup INTEGER,
...
0
votes
1
answer
126
views
Unable to connect to server... connection time out in pgadmin
I installed Psql in azure virtual machine (linux) and Pgadmin-4 in windows VM. When I try to access Psql through Pgadmin getting connection time out error. I enabled all traffic between 2 VMs. when I ...
0
votes
0
answers
38
views
When running initialize sql file on docker compose, queries not executing
I want to create my database and tables while docker-compose initialize. I write an sql file but while docker initializing, i get error. I use postgres as database. I check my database on pg admin, I ...
-1
votes
1
answer
120
views
pgAdmin 4 server could not be contacted on WINDOWS 11
I'm having what I've found to be a very common problem when installing Postgresql 15 and pgAdmin4. I am trying to install it on windows 11, all the solutions I found are for windows 10 and are not ...
-2
votes
1
answer
33
views
PgAdmin column naming query syntax beginner problem
I'm struggling with writing even simple queries in PgAdmin. I've tried to solve this problem for a while now but am unable to learn why pgAdmin behaves like it does:
I'm trying to run a very simple ...
0
votes
1
answer
210
views
pgAdmin4 KeyError: 'ck_port_range'
When running pgAdmin4, The pgAdmin 4 server could not be contacted error occurs with following log .
2023-07-24 10:59:36,375: ERROR pgadmin: Database migration failed
2023-07-24 10:59:36,380: ...
0
votes
0
answers
21
views
PostgreSQL servers are visible by PgAdmin even I deleted them. They were installed by homebrew
I installed postgresql into MacOS m1 Ventura with homebrew and then deleted them. However they are displayed by the pgadmin and I can not enter as they are are deleted, but diplayed.
Ansar Todo and ...
0
votes
1
answer
40
views
pgadmin 4 connection failed Issue. Connection to server at "localhost (::1), port 5432 failed
I am having this issue very frequent now. The temp fix is to delete everything and install again. But as soon as i close pgadmin this issue comes again. Anyone knows a solution to this in macos?
0
votes
0
answers
37
views
How to connect pgAdmin server to get databases in DataGrip
How can I open Database (e.g. connect pgAdmin server) made in pgAdmin?
I tried to set same host (localhost or adres 127.0.0.1) but it didn't work.
I'm new in this field and I don't know how to use ...
0
votes
0
answers
16
views
problem yugabyte works on the command prompt but not for PGAdmin
Sure, I can help you with that. Here is a sample email that you can send to the Yugabyte team:
Dear Yugabyte Team,
I am writing to you today because I am having an issue with Yugabyte not working on ...
0
votes
1
answer
111
views
Why can't I run `psql` command even though postgresql.service is running?
error in text form:
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting ...
0
votes
1
answer
22
views
auth_user in pgAdmin
i was recently trying to test some sort of project working both on Django and pgAdmin for managing database. I created the superuser just for testing and then add some data into the database then i ...