array for cstring type

Started by Sergey Morozover 18 years ago2 messagesgeneral
Jump to latest
#1Sergey Moroz
smo@mgcp.com

there is no array for cstring type. I created it manually in pg_type table.
It seems to me that it's working fine. Can this cause any problems?
PHP receives data as text. Records are converted to cstring through
record_out function. So I just wanted to substitute refcursors/setof
records. Can this idea cause any problems?

--
Sincerely,
Sergey Moroz

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Sergey Moroz (#1)
Re: array for cstring type

Am Donnerstag, 16. August 2007 11:22 schrieb Sergey Moroz:

there is no array for cstring type. I created it manually in pg_type table.
It seems to me that it's working fine. Can this cause any problems?

The cstring type is not for general use. Use varchar or text.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/