public function getEnumOptions( $oid )
    {

        $query = new Query(
            "SELECT enumlabel FROM pg_enum WHERE enumtypid = %oid:int%",
            array(
                'oid' => $oid
            )
        );

        return $this->db->query( $query )->fetch();

    }