pgsql take3