PostgreSQL is a powerful, open source object-relational database system.

learn more… | top users | synonyms

0
votes
1answer
20 views

Why do I have several application maps in usr?

I'm back at ubuntu after a long break. Im trying setting up postgres, pgadmin, apache etc. I've been downloading several version of the aboved mentioned applications. Before downloading new version I'...
0
votes
1answer
136 views

How to make postgresql user access file system?

I am trying Postgresql for learning. I installed that from repository. by default user named postgres had created. I want to know that how can I make this user access files in the disk? I tried ...
0
votes
1answer
268 views

Problems executing make USE_PGXS=1 on Ubuntu 14.04(postgresql9.3)

Following guide for Postgresql9.3 on ubuntu I am getting an error executing make USE_PGXS=1 The output is: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format- security -...
3
votes
1answer
2k views

Pgadmin couldn't connect to PostgreSQL

installed pgadmin3 from ubuntu store Server doesn't listen The server doesn't accept connections: the connection library reports could not connect to server: Connection refused Is the server ...
2
votes
2answers
229 views

Which package provides the Postgresql init scipt?

If I haven't got /etc/init.d/postgresql file in what package could I find it?
1
vote
1answer
2k views

High CPU usage in the processes related to postgres in ubuntu 12.04

My Ubuntu server 12.04 hangs quite oftenly (say once in a day), after hard reboot it starts running normally. The server is Intel Xeon having 2 CPUs with 8GB RAM.There is high CPU usage in the ...
3
votes
3answers
66k views

The following packages have unmet dependencies!

I am writing this because I am very confused about installing postgresql 9.3 on mine Ubuntu 14.04. First I need it for mine Python/Django development, and I ran in to the problem, when i tried to ...
1
vote
1answer
2k views

Postgres createdb is not working in Ubuntu 14.04

I have been trying for hours to create a database in a specific directory in Ubuntu 14.04. First I tried createdb mydb and I got createdb: could not connect to database template1: FATAL: ...
1
vote
2answers
3k views

How to specify a different locale for postgreSQL installation?

My system's locale is en_US.UTF-8. Because of that, the postgreSQL installation uses this locale by default for the cluster during installation. Creating new cluster 9.3/main ... config /etc/...
0
votes
2answers
337 views

how to remove postgresql and phppgadmin from xampp stack

I installed lampp from https://bitnami.com/stack/lamp on my pc running ubuntu 14.04 i also installed the postgresql addon too from https://bitnami.com/stack/postgresql Currently i can't seem to login ...
1
vote
1answer
3k views

PSQL - password authentication failed for user “postgres”

I have freshly installed postgresql 9.4 on my ubuntu 14.10 box and I have run \password as the postgres user and given it the password postgres: $> sudo -u postgres psql =# \password Enter new ...
0
votes
1answer
48 views

PostgresSQL - How to connect to local machine

I installed Postgres to try it and I would like to use my laptop as server. I clicked on 'Add a connection to a server' and the form 'New Server Registration' opens but I don't know how to fill it out....
3
votes
0answers
1k views

Postgresql 9.3 service unable to start

I have Ubuntu 14.04 machine. I'm trying to turn my server on, but there is no success. It was running months ago, but then I've disabled it on startup. Now I need to run it again. I've tried purging ...
1
vote
1answer
268 views

installing Ubuntu Openstack - Canonical Distribution on a virtual environment

I've tried to install Ubuntu Openstack - Canonical Distribution using this new Ubuntu guide. During step 3, i use the following command to install MaaS; sudo apt install maas I've received this ...
1
vote
1answer
1k views

PgAdmin 3 @ Ubuntu 14.10: low responsiveness when typing

I've been using PostgreSQL and PgAdmin 3 for years without problems so far. Recently I installed Ubuntu 14.10 at new notebook with PgAdmin. The problem is that I have to type very slowly to get the ...
0
votes
1answer
954 views

Help Connecting Ubuntu Server 14.04 VM/postgres to postgreSQL workbench on localhost?

I'm new to SQL and am trying to configure and Ubuntu Server 14.04 VM to connect to SQL Workbench x64 on the localhost. Below are my settings for the Virtual machine's port forwarding and the error I ...
1
vote
1answer
1k views

Wine ODBC connection to local PostgreSQL database

I'm running PostgreSQL server which I want to access from program under wine. I installed necessary wine software to be able to make ODBC connection. But is it possible to access local PostgreSQL ...
9
votes
1answer
11k views

how to nicely stop all postgres processes

How do you nicely stop all postgres processes with pg_ctl (or otherwise), when you don't recall what the database directory is, nor have the PGDATA environment variable defined?
1
vote
2answers
11k views

How to install Postgresql 9.3 instead of default 9.4 in Ubuntu 14.10?

I'm on Utopic Unicorn and I need to install Postgresql 9.3 server and client. When I try to autocomplete sudo apt-get install postgres, I see only 9.4 packages: postgresql ...
0
votes
1answer
238 views

12.04LTS -> 14.04LTS; Dist-upgrade failed; postrgesql; removal blacklist

I'm trying to upgrade a server from 12.04LTS to 14.04LTS, but it consistently fails with: The package ... is in the removal blacklist. This can be caused by: * Upgrading to a pre-release version ...
2
votes
1answer
3k views

How to set DISPLAY variable for a process?

I try to run pgadmin3 as user postgres and I get following error: No protocol specified Error: Unable to initialize gtk, is DISPLAY set properly? Command pgadmin3 runs well under pavel (my main ...
2
votes
1answer
1k views

Django Cannot Create Test Database Permission Denied

I'm running Ubuntu 14.04 with Postgres 9.3, Python 3.0 and Django 1.7. When I try to debug my application from PyDev, I receive the following: Creating test database for alias 'default'... Got an ...
0
votes
1answer
293 views

PostgreSQL start.conf not working

I've just upgraded to 14.10 from 14.04. I have both 9.3 and 9.4 versions of PostgreSQL installed but, for now and until i fully migrate to 9.4, i just want to start the 9.3 cluster. I edited the ...
5
votes
2answers
4k views

How to make Postgres start automatically on boot

I am new to Ubuntu and I would like to know how to make postgresql start automatically on boot and how to configure my setup so that I can start the postgres server if need be. I am working on a ...
1
vote
1answer
5k views

postgres-xc will not install due to broken packages

On a 14.04 installation, postgresql was installed via sudo apt-get install postgresql postgresql-contrib libpq-dev This installation is meant to be a slave but cannot start up without running ...
2
votes
1answer
2k views

Cannot connect to Port 5432

My company has a Linux Database server. I only have one user that needs access to this server. He is using PostgreSQL to access this server. It has been working fine for over a year. Today when he ...
1
vote
0answers
481 views

Error while upgrading postgres

Ubuntu 14.04. Package manager reported that postgresql was broken. When I tried to upgrade it produced the following error: (synaptic:30668): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid &...
0
votes
1answer
3k views

Missing PostgreSQL postmaster.pid

I have PostgreSQL 8.4 installed on ubuntu 12.04. When i start postgresql service through terminal, it doesn't start. Then i check and found that postmaster.pid is missing. My question is how can i ...
3
votes
2answers
4k views

I'm unable to remove postgresql 9.3 after installing it

I installed Postgresql 9.3 for Ubuntu 14.04 trusty using this command: sudo apt-get install postgresql-client-9.3 libpq-dev I wanted to remove postgresql and instead install 9.2 so I ran this ...
1
vote
0answers
396 views

PostgreSQL Backup With Barman

I'm trying to backup my server which i created on PostgreSQL (9.1). While on my normal user i type "su barman", it asks me barman's password, i enter the password. On barman's shell i type "barman ...
2
votes
1answer
717 views

pgAdmin show object browser text white on white with dark theme

When using a dark theme, the object browser uses white background. Is there some way to change this? This question has been asked a few times, but no answer still. The theme I am using is E17. (...
2
votes
1answer
9k views

Command pg_dump not found?

I was going to make a backup in a server and I got the error: pg_dump command not found I thought that if you had postgres installed, it worked. What I have to do to "install" it? Because I do not ...
1
vote
1answer
642 views

PostgreSQL importing from folder

I lost my ubuntu partition (12.04) and I've installed the ubuntu 14.04, I could save my database files from postgreSQL v9.1, but now I'm with a problem how can I import this data base and my settings ...
1
vote
2answers
82 views

postgresql vs postgresql-server-dev package

What is the difference between postgresql and postgresql-server-dev packages. What are the purposes served by installing different packages and what are the use-cases of these?
3
votes
2answers
3k views

PostGIS dependency conflicts (ubuntu 14)

I asked this over on SO, but now I'm thinking the problem is mainly package management and belongs here. Subsequent to all the detail that can be found in the original post, I have tried (sudo ...
0
votes
1answer
58 views

how to hiding Ubuntu and postgreSQL versions?

I'm seeking to closing some vulnerabilities of my postgreSQL server that is running over ubuntu 12.04 server, some of these vulnerabilities is an ability of scanners to checking versions of my OS and ...
1
vote
1answer
398 views

Where are the log files for psql connection attempts?

I want to troubleshoot a failed attempt to connect to a remote Pg server using psql. I'd expected to find some log files for psql, but I didn't. Is there any other place where such information would ...
1
vote
1answer
1k views

What are the IP addresses in my iptables chain FORWARD settings in a Dokku/docker setup?

I've been playing around with Dokku on DigitalOcean (following this guide) and I'm trying to understand current firewall settings. So here's my setup: Ubuntu 14.04 Dokku Docker (as part of Dokku) ...
0
votes
1answer
3k views

Postfix PostgreSQL Dovecot SASL Authentication Fails Ubuntu 14.04LTS Server

I previously setup my mail server using Ubuntu 12.04LTS and all worked fine (see Postfix Dovecot SASL Authentication not enabled/working ubuntu 12.04 server), but I recently moved everything to new ...
3
votes
1answer
627 views

PostgreSQL data diff

Note: this question is not about syncing database schema/structure Problem In my web application I have a PostgreSQL database server (PGS) and a (separate machine) business logic server (BLS) which ...
0
votes
1answer
55 views

Postgresql ubuntu 12.04 not starting

I installed PostgreSQL on ubuntu 12.04, using apt-get install postgresql Everything worked fine. I made database, inserted data etc. Then I rebooted my computer, and postgres did not start. There is ...
0
votes
1answer
5k views

install and load uuid-ossp on PostgreSQL

How can I install uuid-ossp extension on PostgreSQL 9.3? Is it using apt-get install? I did select * from pg_available_extensions; but I found no extensions that relates to uuid-ossp.
3
votes
2answers
1k views

How to run postbooks server in Ubuntu?

I installed post-book accounting software from Ubuntu software center in 14.04 LTS. Also installed post-book demo database and PostgreSQL. But I cannot able to run the post-book server. How can I ...
0
votes
1answer
178 views

postgresql has different version in ubuntu minimal (server)

I bought an vps (virtual private server) and have installed ubuntu minimal (server) 12.04 32 bit on it for openerp use, and one of the openerp requirement is installing the postgresql I installed ...
0
votes
1answer
57 views

What order are config files loaded under linux when there are multiple sources?

I understand the main principle that local configuration files precede global /etc/ configuration files. What I really need though is some more detail on this because sometimes it's not obvious. The ...
0
votes
2answers
843 views

user postgres cannot access drive even after permissions and group membership are provided

I have been working on this for the better part of the morning. So I upgraded to ubuntu 14.04 last night, and that went smoothly. But there is an issue with the postgres user and access to my ...
7
votes
1answer
18k views

Starting PostgreSQL server, postgres user unknown

I am trying to start a PostgreSQL server (9.3) on Ubuntu 14.04. I am following this standard tutorial: https://help.ubuntu.com/community/PostgreSQL After updating to from 13.10 to 14.04 I purged the ...
7
votes
2answers
6k views

Postgis + could not access file “$libdir/postgis-2.1”: No such file or directory

I am running postgresql9.3 and postgis2.1 , it works fine. When i installed QGIS by using the following commands: sudo apt-get update sudo apt-get install qgis After installing QGIS the postGis is ...
0
votes
1answer
574 views

Compiling the mysql_fdw for postgresql?

I'm attempting to compile the MySQL Foreign Data Wrapper for Postgresql 9.1+, on Ubuntu 12.04 LTS and having a fair bit of trouble getting it to work. So far I've managed to use git to download the ...
4
votes
3answers
4k views

Does postgresql (server) setup a main cluster after installation? (14.04)

I'm surprised that installing postgresql on ubuntu doesn't give me a working postgres server setup immediately: it requires additional steps: Setting up postgresql-common (154) ... * No PostgreSQL ...