Re: [GENERAL] Problem with plpython

2009-10-30 Thread Justin Pasher
Steve Erickson wrote: I'm running PostgreSQL 8.3 with pl/python 8.3. I am getting a different date/time format when executing the below examples. The results are the same whether I use os.popen or os.system. In plpython, I run: import os cmd = 'ls -al /var/log/messages > /var/tmp/log'

[GENERAL] Problem with plpython

2009-10-30 Thread Steve Erickson
I'm running PostgreSQL 8.3 with pl/python 8.3. I am getting a different date/time format when executing the below examples. The results are the same whether I use os.popen or os.system. In plpython, I run: import os cmd = 'ls -al /var/log/messages > /var/tmp/log' x = os.popen(cmd) for al