Howto convert floats to text?

Поиск
Список
Период
Сортировка
От Martin Leja
Тема Howto convert floats to text?
Дата
Msg-id 199906041045.GAA67778@hub.org
обсуждение исходный текст
Список pgsql-sql
Hi,

there are the following functions to convert types other than text to text:

$bash psql -c "\df" | sed -n '1,2 p; /^text.*convert/ p'

return_type|function          |arguments           |description   
-----------+------------------+--------------------+------------------------
----
text       |datetime_text     |datetime            |convert   
text       |int2_text         |int2                |convert   
text       |int4_text         |int4                |convert   
text       |oid_text          |oid                 |convert   
text       |text              |datetime            |convert   
text       |text              |timespan            |convert   
text       |text              |int4                |convert   
text       |text              |int2                |convert   
text       |text              |oid                 |convert   
text       |timespan_text     |timespan            |convert   


is there realy no function to convert a float to text?

--
Regards, martin@unix-ag.org


В списке pgsql-sql по дате отправления:

Предыдущее
От: Vikrant Rathore
Дата:
Сообщение: Mail about select
Следующее
От: Michael Klemme
Дата:
Сообщение: SQL Problem: ERROR: ExecEvalExpr: unknown expression type 108