#!/bin/bash
export POSTGRES_INSTALLDIR=/home/meet/git/postgresql/install
export PATH=${POSTGRES_INSTALLDIR}/bin:{PATH}
export PGDATA=${POSTGRES_INSTALLDIR}/data
pg_ctl -D $PGDATA -l logfile start
psql -h localhost -p 5432 -d postgres