対象の評価
Check for an exact match with the target.
対象に正確に一致するかどうかを点検します。
Try to coerce the expression directly to the target type if necessary.
必要ならば、式を直接対象の型に強制します。
If the target is a fixed-length type (e.g. char or varchar declared with a length) then try to find a sizing function of the same name as the type taking two arguments, the first the type name and the second an integer length.
対象が固定長な型(例えば char や varchar 型)ならば、同じ名前の、1 つ目が name 型、2 つ目が整数長という 2 つ の引数を持つ、大きさを変更する関数を探します。
For a target column declared as varchar(4) the following query ensures that the target is sized correctly:
varchar(4) として宣言された対象のカラムへの以下の問い 合わせでは、対象の大きさが正確であることが保証されています。
tgl=> CREATE TABLE vv (v varchar(4)); CREATE tgl=> INSERT INTO vv SELECT 'abc' || 'def'; INSERT 392905 1 tgl=> select * from vv; v ---- abcd (1 row)