backing up postgres on ec2
Ok, I’m quite new to this server administration stuff. I have set up an ec2 instance running my website. I’m running everything on a single machine – node.js & postgres. What is the best way to...
View ArticleCan’t Login to phpPgAdmin
I’m trying to set up phpPgAdmin on my test machine so that I can interface with PostgreSQL without always having to use the psql CLI. I have PostgreSQL 9.1 installed via the RPM repository, while I...
View ArticleHow do I install psycopg2 for multiple python interpreters on a CentOS box?
I have a CentOS 5.5 box, which comes preloaded with Python 2.4. I wanted 2.6, so used yumto get it from the EPEL repository. I also used yum to install the psycopg2 package, but it installed it for...
View ArticlePostgresql on Windows : postmaster.pid remains and prevents restart if the...
I have experienced an annoying problem with Postgresql 9.1.1 x64 running as a Windows service on Windows 2008 R2. The Postgres service crashed for an unknown reason and it left a postmaster.pid file...
View ArticleConfigure Postgres on Server A to pg_restore onto Server B (requiring...
I’m trying to configure a PostgreSQL instance running on SERVER_A to connect to another PostgreSQL instance on SERVER_B. I’m running a shell script on SERVER_A that ultimately needs to connect and...
View ArticlePostgreSQL psql command line tool and SET CONSTRAINTS DEFERRED
I am using PostgreSQL 9.1.5 and the psql to run a scipt containing a series of INSERT statements in various tables: psql -U usernamefoo databasenamefoo -f dml_script.sql The table constraints have...
View ArticleTrying to determine the correct number of XFS allocation groups for...
I am running a postgres 8.4.5 server on the linux 2.6.33.7 kernel on an 8 disk raid array with an LSI controller. Most of the tables are around 1GB or less. I know that XFS uses allocation groups (AG)...
View ArticleHow to set up postgresql on EC2 so my data will be backed up and safe?
I am in the process of setting up a very small web-app that I hope to eventually grow into something larger. For now it is a near-zero-budget personal project so I don’t have a lot of resources to...
View ArticleInstall pgadmin in debian server
I have got pgAdminIII-1.14 source code from the official website. Now I’m trying to compile it, on a Debian Squeeze machine. At first I did: ./configure and I got this error: configure: error: you...
View ArticleConfiguring the pg_hba.conf file to allow access from other servers to the...
I have a postgres database on one server and I need access it from another server. I need to edit the pg_hba.conf file, but have now idea what are the steps to edit this file. Server Centos I need to...
View Article