basic pg configuration