Ooow, ok. Undertood. But, How I can do, where I type a text field data type, to insert it in a correct format, with the "\n".
Thank's. ;D 2011/3/5 Lance Edgar <[email protected]> > 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 > -- Atenciosamente... Andrey Luiz - Modelagem, Animação e Desenvolvimento. Contabilidade Gerencial e-mail: [email protected]; [email protected] Skype: andrey__luiz cel: (42) 8844-5929 Foz do Jordão, PR CEP 85145-000 -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
