pgsql example

Here is an example of ingesting data from a postgresql table, deduping it, and then outputting the data to a postgresql table with the added cluster_id for duplicates.