QUERY: CREATE TABLE OIDNAME_TBL(f1 oidname);
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('1234,abcd');
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('1235,efgh');
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('987,XXXX');
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('123456');
WARN:Bad input data for type oidname
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('123456,abcdefghijklmnopqrsutvwyz');
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('');
WARN:Bad input data for type oidname
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('asdfasd');
WARN:Bad input data for type oidname
QUERY: SELECT '' AS four, OIDNAME_TBL.*;
four|f1                              
----+--------------------------------
    |1234,abcd                       
    |1235,efgh                       
    |987,XXXX                        
    |123456,abcdefghijklmnopqrsutvwyz
(4 rows)

QUERY: SELECT '' AS one, o.* FROM OIDNAME_TBL o WHERE o.f1 = '1234,abcd';
one|f1       
---+---------
   |1234,abcd
(1 row)

QUERY: SELECT '' AS three, o.* FROM OIDNAME_TBL o WHERE o.f1 <> '1234,abcd';
three|f1                              
-----+--------------------------------
     |1235,efgh                       
     |987,XXXX                        
     |123456,abcdefghijklmnopqrsutvwyz
(3 rows)

QUERY: SELECT '' AS two, o.* FROM OIDNAME_TBL o WHERE o.f1 <= '1234,abcd';
two|f1       
---+---------
   |1234,abcd
   |987,XXXX 
(2 rows)

QUERY: SELECT '' AS one, o.* FROM OIDNAME_TBL o WHERE o.f1 < '1234,abcd';
one|f1      
---+--------
   |987,XXXX
(1 row)

QUERY: SELECT '' AS three, o.* FROM OIDNAME_TBL o WHERE o.f1 >= '1234,abcd';
three|f1                              
-----+--------------------------------
     |1234,abcd                       
     |1235,efgh                       
     |123456,abcdefghijklmnopqrsutvwyz
(3 rows)

QUERY: SELECT '' AS two, o.* FROM OIDNAME_TBL o WHERE o.f1 > '1234,abcd';
two|f1                              
---+--------------------------------
   |1235,efgh                       
   |123456,abcdefghijklmnopqrsutvwyz
(2 rows)

QUERY: DROP TABLE  OIDNAME_TBL;
