|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.27 2008/07/11 07:02:43 petere Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.28 2008/07/12 16:20:06 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <refentry id="SQL-CREATECAST"> |
4 | 4 | <refmeta> |
@@ -294,7 +294,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0; |
294 | 294 | the same name as a data type, returned that data type, and took one |
295 | 295 | argument of a different type was automatically a cast function. |
296 | 296 | This convention has been abandoned in face of the introduction of |
297 | | - schemas and to be able to represent binary compatible casts in the |
| 297 | + schemas and to be able to represent binary-coercible casts in the |
298 | 298 | system catalogs. The built-in cast functions still follow this naming |
299 | 299 | scheme, but they have to be shown as casts in the system catalog |
300 | 300 | <structname>pg_cast</> as well. |
@@ -324,7 +324,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0; |
324 | 324 | exactly match any existing function, but <replaceable>name</> is the name |
325 | 325 | of a data type and <structname>pg_cast</> provides a binary-coercible cast |
326 | 326 | to this type from the type of <replaceable>x</>, then the call will be |
327 | | - construed as a binary-compatible cast. This exception is made so that |
| 327 | + construed as a binary-coercible cast. This exception is made so that |
328 | 328 | binary-coercible casts can be invoked using functional syntax, even |
329 | 329 | though they lack any function. Likewise, if there is no |
330 | 330 | <structname>pg_cast</> entry but the cast would be to or from a string |
|