varchar vs. text

Поиск
Список
Период
Сортировка
От Leslie Mikesell
Тема varchar vs. text
Дата
Msg-id 199810241737.MAA29834@Jupiter.mcs.net
обсуждение исходный текст
Список pgsql-sql
Is there any way to apply the text functions to a varchar field or
convert from varchar to text?  I set up a database with varchar
fields with unspecified sizes because at the time the odbc driver
didn't like to use text as a unique key.  Now pg_dump sets the
size as (-5) which won't reload unless I take it out, and I can't
use many of the text-style operators.  Using field::text gives:
'ERROR:  function text(varchar) does not exist'.  Is there any
reason to use varchar now that the ODBC driver works with text,
and is there any way to convert short of pg_dump'ing and editing
the structure?

 Les Mikesell
   les@mcs.com

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

Предыдущее
От: "G. Anthony Reina"
Дата:
Сообщение: Reading and writing at the same time
Следующее
От: Michael Olivier
Дата:
Сообщение: palloc failure: memory exhausted, but ulimit 'unlimited'