I am trying to create a temporary table that selects only the data for a certain register_type. I wrote this query but it does not work:
register_type
$ CREAT
http://www.postgresql.org/docs/9.2/static/sql-createtable.html
CREATE TEMP TABLE temp1 LIKE ...