PostgreSQL is a community developed, open source, relational database, made available under a BSD-like license. The PostgreSQL documentation is expansive and incredibly useful.

learn more… | top users | synonyms

1
vote
1answer
27 views

NAS suitable for this situation?

I work from home and am considering getting a NAS. Would using a NAS be suitable for my situation: I alternate working from a desktop and laptop, both of which run Linux I use PostgreSQL a lot along ...
0
votes
2answers
17 views

Unable to install PosgreSQL on Ubuntu 14.04

I have been trying to install PostgreSQL on my Ubuntu machine. I end up getting this error. postgresql : Depends: postgresql-9.3 but it is not going to be installed postgresql-contrib : Depends: ...
-2
votes
0answers
9 views

PostgreSQL Shell. How Can I Show It In Full Screen?

I wonder how can I show postgresql shell in Full Screen? I am using windows 7 and 5 days experienced in this area. Can anyone help me?
-1
votes
0answers
21 views

Error message when trying to launch SQuirreL SQL Client

I wish to Install an editor to write SQL queries (the commands used to retrieve data from the DB) Configure a connection to the database in the editor so that you can query it What I have done: ...
1
vote
1answer
16 views

PgAdmin III writes files with junk in them, which causes PSQL to fail

I encountered the dilemma of needing to run some psql console commands because a colleague needed to use psql's \i directive in a saved script to execute additional SQL-statements from another file, ...
1
vote
0answers
24 views

Cannot configure PostgresSQL extension for php in Cpanel

I have a Centos 6.6 x86_64 vps cloud server with WHM and cpanel. It contains easyapache installed in it and working fine. php sites are working fine with it. I have installed PostgresSQL 9.3 in the ...
2
votes
1answer
20 views

Is the order of columns significant in a Postgresql Primary key definition?

Postgresql allows you to define a primary key using a group of columns instead of one if desired, like so: PRIMARY KEY(a_id, b_id) But is the order of the columns in this definition significant? ...
0
votes
0answers
27 views

Why would updating postgresql-client uninstall postgresql?

On a Debian 7 server, apt-get was offering me to upgrate the following 2 packages: postgresql-9.1 and postgresql-client-9.1. Since I didn't want to restart the database server, I decided only to ...
1
vote
0answers
21 views

Permission denied trying to setup postgres sql

I'm trying to setup Dspace for a uni job here, but this Protgres SQL is asking for a password (For the postgres user) but it's supposed to be indent, I have no idea what's going on. So, When I try to ...
0
votes
0answers
36 views

I'm trying to install PostgreSQL onto Ubuntu 14.04, but I am having difficulties after following a guide

I originally followed the guide at http://www.postgresql.org/docs/9.2/static/runtime.html. It instructed me to install postgres-xc, which is meant for making clusters of databases. On other sites, I ...
0
votes
1answer
21 views

Remove PostgreSQL database files

I've uninstalled PostgreSQL some time ago, but now I needed it again, and installed it. When running rcpostgresql I get the following: /usr/sbin/rcpostgresql Your database files were created by ...
0
votes
0answers
9 views

How to connect psql to the forumdb.py(a python file) in ubuntu?

I have my system with UbuntuOS installed. I am following an online course where it indicates the use of Vagrant and connects your Windows/Mac system using the Virtual Box having Linux installed in it. ...
0
votes
0answers
24 views

I can't loign as postgres user

I have recently done a backup using Time Machine, shifting the data from a Mac mini to a Macbook pro. In this process I lost the possibility to access to postgres with my user. I can see the user on ...
0
votes
0answers
16 views

How to check database relationships in PostgreSQL?

A guy made a DB design on MS Server 2010 and managed to import the schema to my PostgreSQL database, the thing is we want to check if the existing relationships were imported as well, how do i do ...
0
votes
0answers
28 views

Upgrade Postgres from 9.2.2 to 9.3.6

I have an old server with a Postgres 9.2.2 database. Now I have a new server which has a Postgres 9.3.6 database. I copied the data-directory (/var/lib/pgsql/data) from the old server on the new ...
0
votes
1answer
47 views

How do I host the PostgreSQL server locally? It won't let me run as SuperUser, and it won't let me log out of SuperUser

I've spent all day working on a Database project to try and teach myself how to use SQL and PHP. When I finally went to go and try to host it, the command prompt kept closing really quickly. I took a ...
0
votes
2answers
62 views

Postfix not connecting to postgres pool with local ip address

I have a postfix e-mail server that is contacting a database to query and verify e-mail addresses etc. It connects using pgbouncer to cycle through connections, however my problem was that the ...
0
votes
1answer
87 views

Snorby with PostgreSQL installation issue in Mac OS X 10.10.2 (Yosemite)

Trying to setup Snorby for Snort with PostgreSQL on Mac OS X 10.10.2 (Yosemite) Snort 2.9.7.2 GRE (Build 177) PostgreSQL 9.4.1 ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.1.0] ...
1
vote
0answers
175 views

Can't install libpq-dev on debian wheezy

I already have deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main in my /etc/apt/sources.list file. I have tried to follow the dependency trail but I have reached a dead end. This is how ...
1
vote
0answers
28 views

Is there a way to let PostgreSQL restore but not create a new timeline

I'm using PostgreSQL 8.4 and am creating a standby server. Since PostgreSQL 8.4 doesn't have built-in replication support, I did the following things try to get read only access to the standby server, ...
0
votes
0answers
34 views

Revit DBLink fails to import from PostgreSQL ODBC driver

I am trying to export and import back a Revit 2014 model. I am also using PostgreSQL 9.3/9.4 as backend DBMS. I am able to export correctly the Revit model to a database in PostgreSQL but not the ...
0
votes
1answer
130 views

Install Postgresql 9.4 with Puppet

I would like to let Puppet manage Postgresql 9.4 on Ubuntu 14.04.2 LTS. I have install the https://github.com/puppetlabs/puppetlabs-postgresql module and configured it like this for 9.3: class { ...
1
vote
2answers
129 views

ERROR: could not load library “/usr/lib64/pgsql/hstore.so”: /lib64/libc.so.6: version `GLIBC_2.14' not found

I’m trying to enable hstore on my PostgreSQL database running on an Amazon Linux AMI. I’ve already jumped through a ton of hurdles and ended up with this error that I can’t get past: ERROR: could ...
2
votes
1answer
252 views

Make Wine run its applications as user profile, not Administrator

For a very specific case, I need to install PostgreSQL under Wine to run a Windows application that packs it's own installation of PostgreSQL even if PostgreSQL is already installed, for security ...
2
votes
1answer
43 views

Script stops when user is changed

I am trying to create a script that logs as a different user to create a database backup. So far I have encountered a few problems, such as having to input sudo password, or not being able to bypass ...
0
votes
1answer
10 views

CentOS6 Backup fails; “permission denied”

I am currently trying to do a backup of a server and am getting an error message when running my script. The script runs correctly on certain directories, but for the directory I am attempting to use ...
-2
votes
1answer
727 views

OSX: Snort: ERROR: /etc/snort/../rules/local.rules(0) Unable to open rules file “/etc/snort/../rules/local.rules”: No such file or directory

I'm trying to setup and run Snort IDS on mac using this kinda tutorial: https://discussions.apple.com/thread/3370709?start=0&tstart=0 OSX Yosemite (10.10.2); PostgreSQL 9.4.1 (installed with ...
0
votes
1answer
49 views

postgres -w flag breaking systemd

So I am pretty new to Arch and am having a strange issue. Using systemctl I can not start postgresql. Starting postgresql directly with pg_ctl works fine and it is even started briefly with systemctl. ...
-1
votes
1answer
246 views

OSX: Postgresql port 5432 is closed. How to open?

Mac OS X Yosemite (10.10.2) Postgresql 9.4.1 (installed with Homebrew) Snort 2.9.7.0 (installed with Homebrew) I can't connect to psql - port 5432 seem to be closed: $ psql postgres psql: could ...
0
votes
1answer
26 views

Postgresql: can't rename the database

PostgreSQL 9.4.1 (installed with homebrew) I want to rename a database. I'm doing this: $ psql postgres postgres=# ALTER DATABASE snot RENAME TO snortdb postgres-# \l ...
0
votes
2answers
626 views

CentOS 7 install PostgreSQL dependency error

When running yum install postgresql-server.x86_64, I encounter the following error: --> Processing Dependency: libreadline.so.5()(64bit) for package: postgresql-server-8.1.23-10.el5_10.x86_64 ...
0
votes
0answers
122 views

Making a pgAdmin connection to PostgreSQL running on VirtualBox

I have a CentOS 6.5 development server that I installed postgresql on. It runs fine and I can connect to it from my computer using pgAdmin all works perfectly. I recently created a backup of this ...
1
vote
1answer
36 views

dd fails in postgres backup from one server to another

I've got a server which is running out of space. Unfortunately it doesn't even have enough space anymore to backup a postgres database I've got running on it. So I now want to backup the running ...
2
votes
3answers
402 views

Error while trying to start Postgres installed via Homebrew: Operation not permitted

I have recently installed Postgres on my Mac via Homebrew. (I may have already had it installed it was not running) brew install postgres ln -sfv /usr/local/opt/postgresql/*.plist ...
0
votes
0answers
21 views

If pg_dump with -o is enough?

Postgres says using pg_dump with -o switch keeps the OIDs of each row and it is useful for those applications that count on OIDs. I have a may be trivial question. Does it mean if we get dump by -o, ...
0
votes
1answer
110 views

Cannot start PostgreSQL: postgresql-upgrade is missing

Yesterday I upgraded my Fedora from 19 to 20. And now I cannot start PostgreSQL because of old database format. The steps are: 1. # systemctl start postgresql Job for postgresql.service failed. See ...
1
vote
0answers
59 views

Postgres won't start after restore point

i'm having a problem with postgresql. Everything was working fine until my computer crashed and windows did a restore checkpoint thing. After that it was a nightmare. Normally I would start postgresql ...
1
vote
0answers
173 views

PostGreSQL DB - phpPgAdmin using XAMPP

I have installed PostgreSQL Database in Linux server system. XAMPP is installed on my local system. I have followed the steps in install phpPgAdmin . But I still could not access the phpPgAdmin page ...
0
votes
0answers
887 views

Failing to start Postgres SQL Server on Centos

I just followed this tutorial: http://www.unixmen.com/postgresql-9-4-released-install-centos-7/ But I can't start my postgres sserver on my centOS 6.5 machine. Here's the error: [root@vm5 ~]# ...
0
votes
1answer
66 views

Why is Postgres sending network traffic on OSx

I was looking through my Activity Monitor seeing if there was anything running that was hogging my network and noticed that Postgres has the largest amount of bytes sent. Now the numbers aren't ...
2
votes
2answers
55 views

How do I pipe 7za output directly to psql?

I have a Postgres database dump in a .7z archive. I can extract it and import it with: 7za e dump.7z dump psql -h localhost db_name < dump but I'm just running out of disk space. What is the ...
0
votes
0answers
12 views

SquirrelSQL does not display schema owned by another user (Postgres)

I've noticed that SquirrelSQL (v3.6) does not display schemas in a Postgres (v9.2) database if it is owned by another user, even if I'm connected to the database on superuser. When I do alter schema ...
0
votes
0answers
55 views

Cannot connect to Postgres 9.3 outside of network

I'm trying to remotely connect to my postgresql database. I can connect remotely within my network but when i try to access it from outside the network I receive the error: Could not connect to ...
0
votes
0answers
25 views

Rails Server Not Serving Correctly

Having some issues actually serving my rails app, the server seems to run fine, and I'm incurring no permission errors, or even port bound already errors, nothing at all, but yet the app does not ...
0
votes
1answer
220 views

Connect to PgSQL, DROP existent DB, recreate it using CREATE and run some queries alone and from files using Bash script

I need some advice creating a script for help me with repetitive task I do all the time on a development environment. I've a PostgreSQL server and since I'm developing a web application I need to ...
0
votes
1answer
40 views

PostgreSQL BitRock Installer Hangs

While installing PostgreSQL the BitRock installer hangs when it reaches the point that it should copy the files. There were very few things that came up on search engines for Windows 7, I tried netsh ...
1
vote
1answer
187 views

Make phppgAdmin accessible on Apache/Windows 7

I have my custom stack folder located here... C:\MEDIA\INTERNET\WAPP\ I have Apache located here... C:\MEDIA\INTERNET\WAPP\Apache 2.4\ I have PostgreSQL located here... ...
0
votes
0answers
49 views

Why am I getting “FATAL: Ident authentication failed for user ”root“” after changing rails server to port 81

I was running my rails app on the default port of 3000. I opened port 300 with: sudo iptables -A OUTPUT -o eth0 -p tcp --sport 3000 -m state --state ESTABLISHED -j ACCEPT and sudo iptables -A ...
0
votes
1answer
71 views

How to compare databases?

I tried using meld on two dumps from two different databases from the same RDBMS, but it seems that those dumps are not comparable because not being canonical. I tried both pg_dump ... (standard) and ...
0
votes
1answer
970 views

PostgreSQL 9.3 denying remote connection from user despite pg_hba.conf/postgresql.conf configurations

I am running PostgreSQL 9.3 on ubuntu 14.04 LTS. It is the stock Postgres distribution available in apt. I found a bunch of threads in various forums that indicate that the correct way to allow remote ...