On 03/05/2011 04:09 PM, Heur wrote:
Hi friends.
Well, I'm using postgre sql to store my data.
And I have a question:
How I can store in my db a textarea data type?
Exists in postgre a data type that store the text with line break?
In mysql, is text, if I'm not wrong.
But in postgre I don't know (I'm a extreme noob in postgre).
There is also a "text" data type in PostgreSQL, which can include line
breaks:
http://www.postgresql.org/docs/9.0/interactive/datatype-character.html
For example:
create table test (thing text);
insert into test values (E'first line\nsecond line');
Lance
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.