mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Update citext expected output for recent change in error message location
pointers. This is only a whitespace change, which ought to be ignored by regression testing, but for some reason buildfarm member spoonbill doesn't like it.
This commit is contained in:
parent
c5eabafb6a
commit
2f0d528291
@ -1091,390 +1091,390 @@ INSERT INTO caster (citext) VALUES ('foo'::name);
|
||||
INSERT INTO caster (bytea) VALUES ('foo'::text);
|
||||
ERROR: column "bytea" is of type bytea but expression is of type text
|
||||
LINE 1: INSERT INTO caster (bytea) VALUES ('foo'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('foo'::bytea);
|
||||
INSERT INTO caster (bytea) VALUES ('foo'::citext);
|
||||
ERROR: column "bytea" is of type bytea but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (bytea) VALUES ('foo'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('foo'::bytea);
|
||||
-- Cannot cast to boolean on assignment.
|
||||
INSERT INTO caster (boolean) VALUES ('t'::text);
|
||||
ERROR: column "boolean" is of type boolean but expression is of type text
|
||||
LINE 1: INSERT INTO caster (boolean) VALUES ('t'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('t'::boolean);
|
||||
INSERT INTO caster (boolean) VALUES ('t'::citext);
|
||||
ERROR: column "boolean" is of type boolean but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (boolean) VALUES ('t'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('t'::boolean);
|
||||
-- Cannot cast to float8 on assignment.
|
||||
INSERT INTO caster (float8) VALUES ('12.42'::text);
|
||||
ERROR: column "float8" is of type double precision but expression is of type text
|
||||
LINE 1: INSERT INTO caster (float8) VALUES ('12.42'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12.42'::float8);
|
||||
INSERT INTO caster (float8) VALUES ('12.42'::citext);
|
||||
ERROR: column "float8" is of type double precision but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (float8) VALUES ('12.42'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12.42'::float8);
|
||||
-- Cannot cast to float4 on assignment.
|
||||
INSERT INTO caster (float4) VALUES ('12.42'::text);
|
||||
ERROR: column "float4" is of type real but expression is of type text
|
||||
LINE 1: INSERT INTO caster (float4) VALUES ('12.42'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12.42'::float4);
|
||||
INSERT INTO caster (float4) VALUES ('12.42'::citext);
|
||||
ERROR: column "float4" is of type real but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (float4) VALUES ('12.42'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12.42'::float4);
|
||||
-- Cannot cast to numeric on assignment.
|
||||
INSERT INTO caster (numeric) VALUES ('12.42'::text);
|
||||
ERROR: column "numeric" is of type numeric but expression is of type text
|
||||
LINE 1: INSERT INTO caster (numeric) VALUES ('12.42'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12.42'::numeric);
|
||||
INSERT INTO caster (numeric) VALUES ('12.42'::citext);
|
||||
ERROR: column "numeric" is of type numeric but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (numeric) VALUES ('12.42'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12.42'::numeric);
|
||||
-- Cannot cast to int8 on assignment.
|
||||
INSERT INTO caster (int8) VALUES ('12'::text);
|
||||
ERROR: column "int8" is of type bigint but expression is of type text
|
||||
LINE 1: INSERT INTO caster (int8) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::int8);
|
||||
INSERT INTO caster (int8) VALUES ('12'::citext);
|
||||
ERROR: column "int8" is of type bigint but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (int8) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::int8);
|
||||
-- Cannot cast to int4 on assignment.
|
||||
INSERT INTO caster (int4) VALUES ('12'::text);
|
||||
ERROR: column "int4" is of type integer but expression is of type text
|
||||
LINE 1: INSERT INTO caster (int4) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::int4);
|
||||
INSERT INTO caster (int4) VALUES ('12'::citext);
|
||||
ERROR: column "int4" is of type integer but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (int4) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::int4);
|
||||
-- Cannot cast to int2 on assignment.
|
||||
INSERT INTO caster (int2) VALUES ('12'::text);
|
||||
ERROR: column "int2" is of type smallint but expression is of type text
|
||||
LINE 1: INSERT INTO caster (int2) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::int2);
|
||||
INSERT INTO caster (int2) VALUES ('12'::citext);
|
||||
ERROR: column "int2" is of type smallint but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (int2) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::int2);
|
||||
-- Cannot cast to cidr on assignment.
|
||||
INSERT INTO caster (cidr) VALUES ('192.168.100.128/25'::text);
|
||||
ERROR: column "cidr" is of type cidr but expression is of type text
|
||||
LINE 1: INSERT INTO caster (cidr) VALUES ('192.168.100.128/...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('192.168.100.128/25'::cidr);
|
||||
INSERT INTO caster (cidr) VALUES ('192.168.100.128/25'::citext);
|
||||
ERROR: column "cidr" is of type cidr but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (cidr) VALUES ('192.168.100.128/...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('192.168.100.128/25'::cidr);
|
||||
-- Cannot cast to inet on assignment.
|
||||
INSERT INTO caster (inet) VALUES ('192.168.100.128'::text);
|
||||
ERROR: column "inet" is of type inet but expression is of type text
|
||||
LINE 1: INSERT INTO caster (inet) VALUES ('192.168.100.128'...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('192.168.100.128'::inet);
|
||||
INSERT INTO caster (inet) VALUES ('192.168.100.128'::citext);
|
||||
ERROR: column "inet" is of type inet but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (inet) VALUES ('192.168.100.128'...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('192.168.100.128'::inet);
|
||||
-- Cannot cast to macaddr on assignment.
|
||||
INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:03'::text);
|
||||
ERROR: column "macaddr" is of type macaddr but expression is of type text
|
||||
LINE 1: INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:0...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('08:00:2b:01:02:03'::macaddr);
|
||||
INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:03'::citext);
|
||||
ERROR: column "macaddr" is of type macaddr but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:0...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('08:00:2b:01:02:03'::macaddr);
|
||||
-- Cannot cast to xml on assignment.
|
||||
INSERT INTO caster (xml) VALUES ('<p>foo</p>'::text);
|
||||
ERROR: column "xml" is of type xml but expression is of type text
|
||||
LINE 1: INSERT INTO caster (xml) VALUES ('<p>foo</p>'::tex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('<p>foo</p>'::xml);
|
||||
INSERT INTO caster (xml) VALUES ('<p>foo</p>'::citext);
|
||||
ERROR: column "xml" is of type xml but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (xml) VALUES ('<p>foo</p>'::cit...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('<p>foo</p>'::xml);
|
||||
-- Cannot cast to money on assignment.
|
||||
INSERT INTO caster (money) VALUES ('12'::text);
|
||||
ERROR: column "money" is of type money but expression is of type text
|
||||
LINE 1: INSERT INTO caster (money) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::money);
|
||||
INSERT INTO caster (money) VALUES ('12'::citext);
|
||||
ERROR: column "money" is of type money but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (money) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::money);
|
||||
-- Cannot cast to timestamp on assignment.
|
||||
INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05:06'::text);
|
||||
ERROR: column "timestamp" is of type timestamp without time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1999-01-08 04:05:06'::timestamp);
|
||||
INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05:06'::citext);
|
||||
ERROR: column "timestamp" is of type timestamp without time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1999-01-08 04:05:06'::timestamp);
|
||||
-- Cannot cast to timestamptz on assignment.
|
||||
INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05:06'::text);
|
||||
ERROR: column "timestamptz" is of type timestamp with time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1999-01-08 04:05:06'::timestamptz);
|
||||
INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05:06'::citext);
|
||||
ERROR: column "timestamptz" is of type timestamp with time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1999-01-08 04:05:06'::timestamptz);
|
||||
-- Cannot cast to interval on assignment.
|
||||
INSERT INTO caster (interval) VALUES ('1 hour'::text);
|
||||
ERROR: column "interval" is of type interval but expression is of type text
|
||||
LINE 1: INSERT INTO caster (interval) VALUES ('1 hour'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1 hour'::interval);
|
||||
INSERT INTO caster (interval) VALUES ('1 hour'::citext);
|
||||
ERROR: column "interval" is of type interval but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (interval) VALUES ('1 hour'::citext)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1 hour'::interval);
|
||||
-- Cannot cast to date on assignment.
|
||||
INSERT INTO caster (date) VALUES ('1999-01-08'::text);
|
||||
ERROR: column "date" is of type date but expression is of type text
|
||||
LINE 1: INSERT INTO caster (date) VALUES ('1999-01-08'::tex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1999-01-08'::date);
|
||||
INSERT INTO caster (date) VALUES ('1999-01-08'::citext);
|
||||
ERROR: column "date" is of type date but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (date) VALUES ('1999-01-08'::cit...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1999-01-08'::date);
|
||||
-- Cannot cast to time on assignment.
|
||||
INSERT INTO caster (time) VALUES ('04:05:06'::text);
|
||||
ERROR: column "time" is of type time without time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (time) VALUES ('04:05:06'::text)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('04:05:06'::time);
|
||||
INSERT INTO caster (time) VALUES ('04:05:06'::citext);
|
||||
ERROR: column "time" is of type time without time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (time) VALUES ('04:05:06'::citex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('04:05:06'::time);
|
||||
-- Cannot cast to timetz on assignment.
|
||||
INSERT INTO caster (timetz) VALUES ('04:05:06'::text);
|
||||
ERROR: column "timetz" is of type time with time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (timetz) VALUES ('04:05:06'::text)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('04:05:06'::timetz);
|
||||
INSERT INTO caster (timetz) VALUES ('04:05:06'::citext);
|
||||
ERROR: column "timetz" is of type time with time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (timetz) VALUES ('04:05:06'::citex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('04:05:06'::timetz);
|
||||
-- Cannot cast to point on assignment.
|
||||
INSERT INTO caster (point) VALUES ('( 1 , 1)'::text);
|
||||
ERROR: column "point" is of type point but expression is of type text
|
||||
LINE 1: INSERT INTO caster (point) VALUES ('( 1 , 1)'::text)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('( 1 , 1)'::point);
|
||||
INSERT INTO caster (point) VALUES ('( 1 , 1)'::citext);
|
||||
ERROR: column "point" is of type point but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (point) VALUES ('( 1 , 1)'::citex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('( 1 , 1)'::point);
|
||||
-- Cannot cast to lseg on assignment.
|
||||
INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::text);
|
||||
ERROR: column "lseg" is of type lseg but expression is of type text
|
||||
LINE 1: INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 ...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::lseg);
|
||||
INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::citext);
|
||||
ERROR: column "lseg" is of type lseg but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 ...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::lseg);
|
||||
-- Cannot cast to box on assignment.
|
||||
INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::text);
|
||||
ERROR: column "box" is of type box but expression is of type text
|
||||
LINE 1: INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::te...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('(0,0),(1,1)'::box);
|
||||
INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::citext);
|
||||
ERROR: column "box" is of type box but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::ci...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('(0,0),(1,1)'::box);
|
||||
-- Cannot cast to path on assignment.
|
||||
INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,0))'::text);
|
||||
ERROR: column "path" is of type path but expression is of type text
|
||||
LINE 1: INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('((0,0),(1,1),(2,0))'::path);
|
||||
INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,0))'::citext);
|
||||
ERROR: column "path" is of type path but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('((0,0),(1,1),(2,0))'::path);
|
||||
-- Cannot cast to polygon on assignment.
|
||||
INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::text);
|
||||
ERROR: column "polygon" is of type polygon but expression is of type text
|
||||
LINE 1: INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('((0,0),(1,1))'::polygon);
|
||||
INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::citext);
|
||||
ERROR: column "polygon" is of type polygon but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('((0,0),(1,1))'::polygon);
|
||||
-- Cannot cast to circle on assignment.
|
||||
INSERT INTO caster (circle) VALUES ('((0,0),2)'::text);
|
||||
ERROR: column "circle" is of type circle but expression is of type text
|
||||
LINE 1: INSERT INTO caster (circle) VALUES ('((0,0),2)'::text...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('((0,0),2)'::circle);
|
||||
INSERT INTO caster (circle) VALUES ('((0,0),2)'::citext);
|
||||
ERROR: column "circle" is of type circle but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (circle) VALUES ('((0,0),2)'::cite...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('((0,0),2)'::circle);
|
||||
-- Cannot cast to bit on assignment.
|
||||
INSERT INTO caster (bit) VALUES ('101'::text);
|
||||
ERROR: column "bit" is of type bit but expression is of type text
|
||||
LINE 1: INSERT INTO caster (bit) VALUES ('101'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('101'::bit);
|
||||
INSERT INTO caster (bit) VALUES ('101'::citext);
|
||||
ERROR: column "bit" is of type bit but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (bit) VALUES ('101'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('101'::bit);
|
||||
-- Cannot cast to bit varying on assignment.
|
||||
INSERT INTO caster (bitv) VALUES ('101'::text);
|
||||
ERROR: column "bitv" is of type bit varying but expression is of type text
|
||||
LINE 1: INSERT INTO caster (bitv) VALUES ('101'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('101'::bit varying);
|
||||
INSERT INTO caster (bitv) VALUES ('101'::citext);
|
||||
ERROR: column "bitv" is of type bit varying but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (bitv) VALUES ('101'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('101'::bit varying);
|
||||
-- Cannot cast to tsvector on assignment.
|
||||
INSERT INTO caster (tsvector) VALUES ('the fat cat'::text);
|
||||
ERROR: column "tsvector" is of type tsvector but expression is of type text
|
||||
LINE 1: INSERT INTO caster (tsvector) VALUES ('the fat cat'::te...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('the fat cat'::tsvector);
|
||||
INSERT INTO caster (tsvector) VALUES ('the fat cat'::citext);
|
||||
ERROR: column "tsvector" is of type tsvector but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (tsvector) VALUES ('the fat cat'::ci...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('the fat cat'::tsvector);
|
||||
-- Cannot cast to tsquery on assignment.
|
||||
INSERT INTO caster (tsquery) VALUES ('fat & rat'::text);
|
||||
ERROR: column "tsquery" is of type tsquery but expression is of type text
|
||||
LINE 1: INSERT INTO caster (tsquery) VALUES ('fat & rat'::text...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('fat & rat'::tsquery);
|
||||
INSERT INTO caster (tsquery) VALUES ('fat & rat'::citext);
|
||||
ERROR: column "tsquery" is of type tsquery but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (tsquery) VALUES ('fat & rat'::cite...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('fat & rat'::tsquery);
|
||||
-- Cannot cast to uuid on assignment.
|
||||
INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::text);
|
||||
ERROR: column "uuid" is of type uuid but expression is of type text
|
||||
LINE 1: INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4e...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);
|
||||
INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::citext);
|
||||
ERROR: column "uuid" is of type uuid but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4e...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);
|
||||
-- Table 9-5. SQL String Functions and Operators
|
||||
|
@ -1091,150 +1091,150 @@ INSERT INTO caster (citext) VALUES ('foo'::name);
|
||||
INSERT INTO caster (bytea) VALUES ('foo'::text);
|
||||
ERROR: column "bytea" is of type bytea but expression is of type text
|
||||
LINE 1: INSERT INTO caster (bytea) VALUES ('foo'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('foo'::bytea);
|
||||
INSERT INTO caster (bytea) VALUES ('foo'::citext);
|
||||
ERROR: column "bytea" is of type bytea but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (bytea) VALUES ('foo'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('foo'::bytea);
|
||||
-- Cannot cast to boolean on assignment.
|
||||
INSERT INTO caster (boolean) VALUES ('t'::text);
|
||||
ERROR: column "boolean" is of type boolean but expression is of type text
|
||||
LINE 1: INSERT INTO caster (boolean) VALUES ('t'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('t'::boolean);
|
||||
INSERT INTO caster (boolean) VALUES ('t'::citext);
|
||||
ERROR: column "boolean" is of type boolean but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (boolean) VALUES ('t'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('t'::boolean);
|
||||
-- Cannot cast to float8 on assignment.
|
||||
INSERT INTO caster (float8) VALUES ('12.42'::text);
|
||||
ERROR: column "float8" is of type double precision but expression is of type text
|
||||
LINE 1: INSERT INTO caster (float8) VALUES ('12.42'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12.42'::float8);
|
||||
INSERT INTO caster (float8) VALUES ('12.42'::citext);
|
||||
ERROR: column "float8" is of type double precision but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (float8) VALUES ('12.42'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12.42'::float8);
|
||||
-- Cannot cast to float4 on assignment.
|
||||
INSERT INTO caster (float4) VALUES ('12.42'::text);
|
||||
ERROR: column "float4" is of type real but expression is of type text
|
||||
LINE 1: INSERT INTO caster (float4) VALUES ('12.42'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12.42'::float4);
|
||||
INSERT INTO caster (float4) VALUES ('12.42'::citext);
|
||||
ERROR: column "float4" is of type real but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (float4) VALUES ('12.42'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12.42'::float4);
|
||||
-- Cannot cast to numeric on assignment.
|
||||
INSERT INTO caster (numeric) VALUES ('12.42'::text);
|
||||
ERROR: column "numeric" is of type numeric but expression is of type text
|
||||
LINE 1: INSERT INTO caster (numeric) VALUES ('12.42'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12.42'::numeric);
|
||||
INSERT INTO caster (numeric) VALUES ('12.42'::citext);
|
||||
ERROR: column "numeric" is of type numeric but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (numeric) VALUES ('12.42'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12.42'::numeric);
|
||||
-- Cannot cast to int8 on assignment.
|
||||
INSERT INTO caster (int8) VALUES ('12'::text);
|
||||
ERROR: column "int8" is of type bigint but expression is of type text
|
||||
LINE 1: INSERT INTO caster (int8) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::int8);
|
||||
INSERT INTO caster (int8) VALUES ('12'::citext);
|
||||
ERROR: column "int8" is of type bigint but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (int8) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::int8);
|
||||
-- Cannot cast to int4 on assignment.
|
||||
INSERT INTO caster (int4) VALUES ('12'::text);
|
||||
ERROR: column "int4" is of type integer but expression is of type text
|
||||
LINE 1: INSERT INTO caster (int4) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::int4);
|
||||
INSERT INTO caster (int4) VALUES ('12'::citext);
|
||||
ERROR: column "int4" is of type integer but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (int4) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::int4);
|
||||
-- Cannot cast to int2 on assignment.
|
||||
INSERT INTO caster (int2) VALUES ('12'::text);
|
||||
ERROR: column "int2" is of type smallint but expression is of type text
|
||||
LINE 1: INSERT INTO caster (int2) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::int2);
|
||||
INSERT INTO caster (int2) VALUES ('12'::citext);
|
||||
ERROR: column "int2" is of type smallint but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (int2) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::int2);
|
||||
-- Cannot cast to cidr on assignment.
|
||||
INSERT INTO caster (cidr) VALUES ('192.168.100.128/25'::text);
|
||||
ERROR: column "cidr" is of type cidr but expression is of type text
|
||||
LINE 1: INSERT INTO caster (cidr) VALUES ('192.168.100.128/...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('192.168.100.128/25'::cidr);
|
||||
INSERT INTO caster (cidr) VALUES ('192.168.100.128/25'::citext);
|
||||
ERROR: column "cidr" is of type cidr but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (cidr) VALUES ('192.168.100.128/...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('192.168.100.128/25'::cidr);
|
||||
-- Cannot cast to inet on assignment.
|
||||
INSERT INTO caster (inet) VALUES ('192.168.100.128'::text);
|
||||
ERROR: column "inet" is of type inet but expression is of type text
|
||||
LINE 1: INSERT INTO caster (inet) VALUES ('192.168.100.128'...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('192.168.100.128'::inet);
|
||||
INSERT INTO caster (inet) VALUES ('192.168.100.128'::citext);
|
||||
ERROR: column "inet" is of type inet but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (inet) VALUES ('192.168.100.128'...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('192.168.100.128'::inet);
|
||||
-- Cannot cast to macaddr on assignment.
|
||||
INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:03'::text);
|
||||
ERROR: column "macaddr" is of type macaddr but expression is of type text
|
||||
LINE 1: INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:0...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('08:00:2b:01:02:03'::macaddr);
|
||||
INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:03'::citext);
|
||||
ERROR: column "macaddr" is of type macaddr but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (macaddr) VALUES ('08:00:2b:01:02:0...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('08:00:2b:01:02:03'::macaddr);
|
||||
-- Cannot cast to xml on assignment.
|
||||
INSERT INTO caster (xml) VALUES ('<p>foo</p>'::text);
|
||||
ERROR: column "xml" is of type xml but expression is of type text
|
||||
LINE 1: INSERT INTO caster (xml) VALUES ('<p>foo</p>'::tex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('<p>foo</p>'::xml);
|
||||
ERROR: unsupported XML feature
|
||||
@ -1245,7 +1245,7 @@ HINT: You need to rebuild PostgreSQL using --with-libxml.
|
||||
INSERT INTO caster (xml) VALUES ('<p>foo</p>'::citext);
|
||||
ERROR: column "xml" is of type xml but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (xml) VALUES ('<p>foo</p>'::cit...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('<p>foo</p>'::xml);
|
||||
ERROR: unsupported XML feature
|
||||
@ -1257,234 +1257,234 @@ HINT: You need to rebuild PostgreSQL using --with-libxml.
|
||||
INSERT INTO caster (money) VALUES ('12'::text);
|
||||
ERROR: column "money" is of type money but expression is of type text
|
||||
LINE 1: INSERT INTO caster (money) VALUES ('12'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('12'::money);
|
||||
INSERT INTO caster (money) VALUES ('12'::citext);
|
||||
ERROR: column "money" is of type money but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (money) VALUES ('12'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('12'::money);
|
||||
-- Cannot cast to timestamp on assignment.
|
||||
INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05:06'::text);
|
||||
ERROR: column "timestamp" is of type timestamp without time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1999-01-08 04:05:06'::timestamp);
|
||||
INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05:06'::citext);
|
||||
ERROR: column "timestamp" is of type timestamp without time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (timestamp) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1999-01-08 04:05:06'::timestamp);
|
||||
-- Cannot cast to timestamptz on assignment.
|
||||
INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05:06'::text);
|
||||
ERROR: column "timestamptz" is of type timestamp with time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1999-01-08 04:05:06'::timestamptz);
|
||||
INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05:06'::citext);
|
||||
ERROR: column "timestamptz" is of type timestamp with time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (timestamptz) VALUES ('1999-01-08 04:05...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1999-01-08 04:05:06'::timestamptz);
|
||||
-- Cannot cast to interval on assignment.
|
||||
INSERT INTO caster (interval) VALUES ('1 hour'::text);
|
||||
ERROR: column "interval" is of type interval but expression is of type text
|
||||
LINE 1: INSERT INTO caster (interval) VALUES ('1 hour'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1 hour'::interval);
|
||||
INSERT INTO caster (interval) VALUES ('1 hour'::citext);
|
||||
ERROR: column "interval" is of type interval but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (interval) VALUES ('1 hour'::citext)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1 hour'::interval);
|
||||
-- Cannot cast to date on assignment.
|
||||
INSERT INTO caster (date) VALUES ('1999-01-08'::text);
|
||||
ERROR: column "date" is of type date but expression is of type text
|
||||
LINE 1: INSERT INTO caster (date) VALUES ('1999-01-08'::tex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('1999-01-08'::date);
|
||||
INSERT INTO caster (date) VALUES ('1999-01-08'::citext);
|
||||
ERROR: column "date" is of type date but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (date) VALUES ('1999-01-08'::cit...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('1999-01-08'::date);
|
||||
-- Cannot cast to time on assignment.
|
||||
INSERT INTO caster (time) VALUES ('04:05:06'::text);
|
||||
ERROR: column "time" is of type time without time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (time) VALUES ('04:05:06'::text)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('04:05:06'::time);
|
||||
INSERT INTO caster (time) VALUES ('04:05:06'::citext);
|
||||
ERROR: column "time" is of type time without time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (time) VALUES ('04:05:06'::citex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('04:05:06'::time);
|
||||
-- Cannot cast to timetz on assignment.
|
||||
INSERT INTO caster (timetz) VALUES ('04:05:06'::text);
|
||||
ERROR: column "timetz" is of type time with time zone but expression is of type text
|
||||
LINE 1: INSERT INTO caster (timetz) VALUES ('04:05:06'::text)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('04:05:06'::timetz);
|
||||
INSERT INTO caster (timetz) VALUES ('04:05:06'::citext);
|
||||
ERROR: column "timetz" is of type time with time zone but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (timetz) VALUES ('04:05:06'::citex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('04:05:06'::timetz);
|
||||
-- Cannot cast to point on assignment.
|
||||
INSERT INTO caster (point) VALUES ('( 1 , 1)'::text);
|
||||
ERROR: column "point" is of type point but expression is of type text
|
||||
LINE 1: INSERT INTO caster (point) VALUES ('( 1 , 1)'::text)...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('( 1 , 1)'::point);
|
||||
INSERT INTO caster (point) VALUES ('( 1 , 1)'::citext);
|
||||
ERROR: column "point" is of type point but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (point) VALUES ('( 1 , 1)'::citex...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('( 1 , 1)'::point);
|
||||
-- Cannot cast to lseg on assignment.
|
||||
INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::text);
|
||||
ERROR: column "lseg" is of type lseg but expression is of type text
|
||||
LINE 1: INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 ...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::lseg);
|
||||
INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::citext);
|
||||
ERROR: column "lseg" is of type lseg but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (lseg) VALUES ('( 1 , 1 ) , ( 2 ...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('( 1 , 1 ) , ( 2 , 2 )'::lseg);
|
||||
-- Cannot cast to box on assignment.
|
||||
INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::text);
|
||||
ERROR: column "box" is of type box but expression is of type text
|
||||
LINE 1: INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::te...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('(0,0),(1,1)'::box);
|
||||
INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::citext);
|
||||
ERROR: column "box" is of type box but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (box) VALUES ('(0,0),(1,1)'::ci...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('(0,0),(1,1)'::box);
|
||||
-- Cannot cast to path on assignment.
|
||||
INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,0))'::text);
|
||||
ERROR: column "path" is of type path but expression is of type text
|
||||
LINE 1: INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('((0,0),(1,1),(2,0))'::path);
|
||||
INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,0))'::citext);
|
||||
ERROR: column "path" is of type path but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (path) VALUES ('((0,0),(1,1),(2,...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('((0,0),(1,1),(2,0))'::path);
|
||||
-- Cannot cast to polygon on assignment.
|
||||
INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::text);
|
||||
ERROR: column "polygon" is of type polygon but expression is of type text
|
||||
LINE 1: INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('((0,0),(1,1))'::polygon);
|
||||
INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::citext);
|
||||
ERROR: column "polygon" is of type polygon but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (polygon) VALUES ('((0,0),(1,1))'::...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('((0,0),(1,1))'::polygon);
|
||||
-- Cannot cast to circle on assignment.
|
||||
INSERT INTO caster (circle) VALUES ('((0,0),2)'::text);
|
||||
ERROR: column "circle" is of type circle but expression is of type text
|
||||
LINE 1: INSERT INTO caster (circle) VALUES ('((0,0),2)'::text...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('((0,0),2)'::circle);
|
||||
INSERT INTO caster (circle) VALUES ('((0,0),2)'::citext);
|
||||
ERROR: column "circle" is of type circle but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (circle) VALUES ('((0,0),2)'::cite...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('((0,0),2)'::circle);
|
||||
-- Cannot cast to bit on assignment.
|
||||
INSERT INTO caster (bit) VALUES ('101'::text);
|
||||
ERROR: column "bit" is of type bit but expression is of type text
|
||||
LINE 1: INSERT INTO caster (bit) VALUES ('101'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('101'::bit);
|
||||
INSERT INTO caster (bit) VALUES ('101'::citext);
|
||||
ERROR: column "bit" is of type bit but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (bit) VALUES ('101'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('101'::bit);
|
||||
-- Cannot cast to bit varying on assignment.
|
||||
INSERT INTO caster (bitv) VALUES ('101'::text);
|
||||
ERROR: column "bitv" is of type bit varying but expression is of type text
|
||||
LINE 1: INSERT INTO caster (bitv) VALUES ('101'::text);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('101'::bit varying);
|
||||
INSERT INTO caster (bitv) VALUES ('101'::citext);
|
||||
ERROR: column "bitv" is of type bit varying but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (bitv) VALUES ('101'::citext);
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('101'::bit varying);
|
||||
-- Cannot cast to tsvector on assignment.
|
||||
INSERT INTO caster (tsvector) VALUES ('the fat cat'::text);
|
||||
ERROR: column "tsvector" is of type tsvector but expression is of type text
|
||||
LINE 1: INSERT INTO caster (tsvector) VALUES ('the fat cat'::te...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('the fat cat'::tsvector);
|
||||
INSERT INTO caster (tsvector) VALUES ('the fat cat'::citext);
|
||||
ERROR: column "tsvector" is of type tsvector but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (tsvector) VALUES ('the fat cat'::ci...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('the fat cat'::tsvector);
|
||||
-- Cannot cast to tsquery on assignment.
|
||||
INSERT INTO caster (tsquery) VALUES ('fat & rat'::text);
|
||||
ERROR: column "tsquery" is of type tsquery but expression is of type text
|
||||
LINE 1: INSERT INTO caster (tsquery) VALUES ('fat & rat'::text...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('fat & rat'::tsquery);
|
||||
INSERT INTO caster (tsquery) VALUES ('fat & rat'::citext);
|
||||
ERROR: column "tsquery" is of type tsquery but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (tsquery) VALUES ('fat & rat'::cite...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('fat & rat'::tsquery);
|
||||
-- Cannot cast to uuid on assignment.
|
||||
INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::text);
|
||||
ERROR: column "uuid" is of type uuid but expression is of type text
|
||||
LINE 1: INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4e...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (text) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);
|
||||
INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::citext);
|
||||
ERROR: column "uuid" is of type uuid but expression is of type citext
|
||||
LINE 1: INSERT INTO caster (uuid) VALUES ('a0eebc99-9c0b-4e...
|
||||
^
|
||||
^
|
||||
HINT: You will need to rewrite or cast the expression.
|
||||
INSERT INTO caster (citext) VALUES ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);
|
||||
-- Table 9-5. SQL String Functions and Operators
|
||||
|
Loading…
Reference in New Issue
Block a user