Added example for query action with postgres