Hi; I've needed to change the variable DateStyle to European conventions with the SET command. But when I restart the psql client, the datestyle is again 'non-european conventions". How could I force to use the european datestyle always. (I also use Access2000 as a client. Up to the date, I use three integer fields for year, months and days to have no problem, but I would like to use normal dates). So. How can I be sure that the server always understand 'european dates'? (aaaa-mm-dd) Thanks and regards Javier
Javier, I put these lines in my .tcshrc file in my home directory (on Mac OS X), you'd have to use whatever startup file your *nix shell uses : setenv PGCLIENTENCODING UNICODE setenv PGDATESTYLE 'ISO,European' setenv PGTZ UTC Cheers ! - Joel Rodrigues
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера