CREATE TYPE "table" AS ENUM ('Ecatalog_LatLong', 'Ecatalog'); CREATE TYPE pkey AS ("table" "table", key integer);