Hey guys! I try to store multiple lines in a text field of my database ( a sample f a logfile). How do I do this? Now I can only write everything on one line... Thanx! Wim
Wim, > I try to store multiple lines in a text field of my database ( a sample > f a logfile). > How do I do this? Now I can only write everything on one line... A postgres text field will accept line breaks with no problem: INSERT INTO some_table ( id, name, comments ) VALUES ( 5, 'Truth', 'Truth needs no favor for her sword Upon the field with Error Nor are her converts ever made By threat of harm or terror' ); However, depending on what tool/langauge you are using to interface with postgresql, this may be more or less difficult. -- Josh Berkus Aglio Database Solutions San Francisco
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера