PostgreSQL is a powerful, open source object-relational database system. It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX ...

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

Can I implement WCF wtih Postgres? [on hold]

I am developing a WPF application, with Prism Unity. I am trying to implement WCF as described here: https://msdn.microsoft.com/en-us/library/ff649818.aspx. I thought I could just change the port to ...
0
votes
0answers
49 views

PostgreSQL failover with Kubernetes

I've got master slave replication working with Kubernetes, but would now like to implement failover. I have pods running with the service=postgresql and role=master or role=slave roles. When the ...
0
votes
1answer
8 views

postgres continuous backup scheduling

I have set up Postgres conintuous backup by making a base backup and archiving WAL files, as specified here. Our database is very low use (but very important to back up) so we produce a new WAL file ...
1
vote
0answers
25 views

How can I efficiently create daily write replicas of an RDS instance?

We're looking to create a replica of a postgres RDS instance that our developers can write to (not just a simple read replica that AWS can easily provide). Currently we run a script nightly that ...
2
votes
2answers
147 views

Database backup encryption

I've been trying to work out an effective database backup encryption scheme lately. I have a Postgres 9.4 server, I have most of the backup scheme fleshed out I think. Backups will be stored in a ...
0
votes
0answers
24 views

PgBouncer not listening with no errors in logs

I currently have Postgres working on my server want to move to connection pooling. Looking around and PgBouncer seems to be the tool of choice. I have set it up and it claims to start fine with the ...
0
votes
1answer
30 views

terminating connection because of crash of another server process

I have a java scraper that spawns around 1,500-2,100 threads, each of which connects to the same database via jdbc and makes inserts. These threads insert quite frequently. It seems like the db ...
-1
votes
0answers
27 views

Database server: E5-2620v2 MLC SSD Software RAID1 vs E5-2650 Hardware RAID 10 / 2X RAID 1 for read performance and reliability [duplicate]

I am looking for a new database server and I have 2 options at this point with multiple configurations, all assuming same price. This will be a PostgreSQL database server with lots of READ (we are ...
1
vote
1answer
26 views

Use in-memory database or search engine for read only to make website faster

I have an application which require doing a lot of queries for every single page which make it slower. I have tried to use cache systems (Redis) but implementation are little bit complicated and will ...
0
votes
0answers
21 views

Using PostgreSQL at web host, editing pg_hba.conf

I have a domain at HelioHost.org, where I want to connect to a PostgreSQL server, which they supposedly support. But I get the following error message when looking at my PHP files in Firefox: ...
0
votes
0answers
28 views

How to install Nomtimatim in postgresql (windows)

I am trying to do geocoding in the postgresql, and I have already installed TIGER geocoder successfully. Then, I want to use Nomtimatim in postgresql. However,since the installed guide ...
0
votes
1answer
18 views

.pgpass file does not set default username to connect as

(Debian 8) My .pgpass file is at my home folder (admin) I and using the right format as indicated in the documentation hostname:port:database:username:password The same fields I put there work ...
0
votes
1answer
22 views

NAS suitable for this situation? [closed]

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
1answer
29 views

PostgreSQL: error with pg_hba.conf

I am trying to connect with Django to a PostgreSQL database I set up on a remote machine. I get the following error: django.db.utils.OperationalError: FATAL: no pg_hba.conf entry for host "::1", ...
-4
votes
2answers
58 views

Does anyone know of a good free tool that can be used to ping our Postgres database server to determine if it is running or not? [closed]

I'm looking for a free tool which runs on my desktop (not the server itself) that will periodically test to see if our database server is up and running properly. Ideally, it should also be able to ...
0
votes
1answer
49 views

fail to start postgresql when used with vagrant

Trying to start postgresql on a Virtualbox VM managed by Vagrant I have the following error: LOG: could not link file "pg_xlog/xlogtemp.29" to "pg_xlog/000000010000000000000001" (initialization of ...
0
votes
2answers
48 views

How to grant access to /var/run to postgres on CentOS?

After installing postgres-9.3 via yum in my CentOS 7, its default configuration puts socket in /tmp directory. I have httpd (installed via yum as well) which is by default managed by system.d with ...
0
votes
0answers
68 views

OS X Yosemite Server - Wiki stops working

the last couple of days I have noticed that the Wiki-Server on OS X Server seems to crash. When I call up the wiki's website I get the following message: Caught exception "Connection to DB failed" ...
1
vote
2answers
68 views

Automate pg_dump in a bash script

I am re-learning bash after years of not using it very much and need to figure out a way to automate pg_dump of a single database to a directory. Currently I manually ssh into the box, su to postgres ...
0
votes
1answer
80 views

No space left on device error

I can no longer generate new columns in my database. My stack is below. I am new to managing my own server and am unfamiliar with Apache, Ubuntu and AWS. Currently I am receiving an error saying ...
1
vote
0answers
164 views

PostgreSQL - Invalid byte sequence for encoding “UTF8”: 0xe7 0x75 0x20

Here is the problem : Everything worked fine with my postgresql system until I decided to click on the "rotate logs" button in the server status tab (from pgAdmin). After that, I faced this issue, ...
0
votes
0answers
62 views

Postgresql Connection Timed out

when I am connecting to psql on remote server >psql -h {hostname} psql: could not connect to server: Connection timed out (0x0000274C/10060). Is the server running on host "{hostname}" ...
0
votes
1answer
54 views

MD5 pw encryption in postgresql using CREATE USER WITH PASSWORD

So I have postgresql database and in pg_hba.conf file I am authenticating users via md5. I typically create users using the command: CREATE USER username WITH PASSWORD 'password'; From the ...
0
votes
1answer
65 views

How to import postgresql file on Linux with space in path?

If I try to import an sql script with a space in path, the file is not found. mypsqluser=> \i /home/markus/Documents/Projekte/My App/Installation/server_sql_script.sql ...
0
votes
2answers
64 views

Tuning Tomcat java app with Apache reverse proxy and Postgresql

Looks like my apache reverse proxy may be acting as the bottleneck and bogging down the number of requests users can make. I run Apache and Tomcat on server1, which has 96 gb RAM, rhel5 x64, 24 ...
0
votes
1answer
38 views

Postgresql 9.1 -> 9.4 migration problems

I've run a quick and dirty debian 7 -> debian 8 upgrade today, and lost my postgresql 9.1 installation. By "lost" i mean that i can't start it from init script (i simply get no output; 9.4 goes okay, ...
0
votes
1answer
41 views

Ubuntu 14.04 having two postgres server, removing one

after installing postgres using apt-get and adding the repo for 9.4, I have two versions, 9.3 and 9.4 running. How can I remove 9.3? apt-get purge removes both actually. Thanks ins advance
0
votes
0answers
23 views

Fallback to backup server upon failure of main server without third machine

I will soon need to setup a database server on a budget. We are planning to use Postgres on Ubuntu (most likely) and we'd like to have a backup server. For replication, I think I'll just use ...
0
votes
0answers
38 views

pgpool2 stucks in “idle in transaction”

We have a setup with two postgresql servers configured as master-slave (streaming replication). The application servers (Odoo) should connect through pgpool2. All is fine if I connect the application ...
0
votes
1answer
43 views

How to export a Heroku-friendly Postgres dump from Ninefold?

I am trying to migrate my postgres database from ninefold to heroku. The command I'm using to export is: PGPASSWORD=password pg_dump -h ipaddress -p port -U user -d database -Fc --no-acl --no-owner ...
0
votes
1answer
10 views

Downsides to indefinite replicate streaming delays?

I have a db server that's sole purpose is for analytics querying. It's running as a hot standby, but long running queries are failing due to max_standby_archive_delay and max_standby_streaming_delay ...
0
votes
0answers
18 views

apache2 mod_dbd and postgresql

I'm trying to rewrite url using dbd. Everything looks ok, except few things: It doesn't work It doesn't show any error (LogLevel Trace8) It doesn't show any connection to database (postgresql.log ...
1
vote
0answers
12 views

Does a PostgreSQL hot standby cache streamed WAL segments?

If pg_xlog_replay_pause() is used or max_standby_streaming_delay is set, are unapplied WAL segments stored on the hot standby? I'd like to be clear if a long-running query is keeping WAL segments ...
1
vote
1answer
63 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 ...
0
votes
0answers
74 views

After upgrading to PostgreSQL 9.4, unable to connect from localhost

I have recently upgraded from Debian 7 to Debian 8 and from PostgreSQL 9.1 to 9.4. I am not able to connect to my database server even from pgAdmin III on localhost. I have in my postgresql.conf the ...
1
vote
0answers
62 views

Postgres streaming replication over Internet

all: I want to set up two PostgreSQL servers, one as master server and the other one as a hot standy, using streaming replication. I have done this before in LAN environments, but I would like to ...
0
votes
1answer
24 views

Can't access remote PostreSQL

I just moved my office and now I can't get to PostgreSQL on my Windows web server. I changed the pg_hba.conf file to the new IP address. I made no other changes to the server or my computer. One ...
7
votes
1answer
487 views

su: /bin/bash: Resource temporarily unavailable

Unable to switch user to postgres. Ulimit settings for postgres user is set with reasonable limits. We are not hitting max. No errors in /var/log/messages. Error: BETA -bash-4.2# sudo su - ...
4
votes
1answer
69 views

PostgreSQL limiting connections to fewer than max_connections?

I have a PostgreSQL 9.4 server that seems to be limiting connections to fewer than what I have defined in max_connections. I have max_connections set to 300. SHOW max_connections; max_connections ...
0
votes
0answers
65 views

postgres sql returning "more than one row returned by a subquery used as an expression

Postgres sql is returning: more than one row returned by a subquery used as an expression The data base format is: rpt_rec_num | wksht_cd | line_num | clmn_num | itm_val_num ...
1
vote
1answer
47 views

Changing tablespace on table with streaming replication

I've been searching for answers for a while know but can't find any reliable source. We have 2 postgres servers that replicates using streaming replication. I now need to move some tables to a ...
0
votes
0answers
28 views

openshift gear borks and restarts

I have a Django application on Redhat OpenShift that uses a postgresql database. I use the free plan with 1 small gear using: Python 2.7 PostgreSQL 9.2 For a certain command I get thrown out from ...
0
votes
0answers
42 views

How to configure PostgreSQL password? on a new VM

I installed my postgresql like this. sudo apt-get update sudo apt-get install postgresql postgresql-contrib and accessed it like this sudo -i -u postgres and my a gist of my pga_hba.conf # DO ...
0
votes
1answer
287 views

start postgres 9.4 server from Windows commandline [closed]

I am trying to start the postgres erver from the Windows command line but it keeps failing with the same error: 2015-04-14 10:25:19 GST LOG: could not bind IPv6 socket: No error 2015-04-14 10:25:19 ...
0
votes
1answer
23 views

Postgres protected access

I am trying to configure my Postgres instance so that only the local machine and my machine (over internet) should be able to access the database. The postgresql.conf file has parameter ...
0
votes
1answer
66 views

PostgreSQL - SQLSTATE[22007]

I have a box running Debian Wheezy, It is only used to operate Airtime (Icecast, LiquidSoap) It was working fine, after loading some more data into folders and editing WATCHED FOLDERS, I am getting an ...
-1
votes
1answer
229 views

Migrate OTRS database from PostgreSQL to MySQL

OTRS supports PostgreSQL and MySQL databases. I'm using PostgreSQL 9.1 for my OTRS 3.2 but I want to migrate to MySQL 5.5. Is this possible? How?
0
votes
1answer
226 views

Migrate data from postgresql 8.4 to postgresql 9.4 in 2 different servers

I have a problem with postgresql as below: I have a server CentOS 5.9 install postgresql 8.4. It is running for my production and Data Size = 300 GB. At the moment, I need migrate all data in ...
0
votes
0answers
12 views

Postgres 9.3 maximal cluster size with streaming replication [duplicate]

First, I quote from https://wiki.postgresql.org/wiki/Binary_Replication_Tutorial: In Streaming Replication, the master and the standby have special processes called the walsender and walreceiver ...
0
votes
1answer
85 views

Syslog-ng and Logrotate creating sparse files

We've been using syslog-ng to log our postgres logs. On top of it we run logrotate every 5 minutes which also gzips the files. Recently, we've noted that these postgres logs contain a lot of null ...