[HACKERS] Ignored PostgreSQL SET command

2001-01-01 Thread Patrick Dunford
I have a line in a PHP script that looks like this: $set=pg_exec($dbconn, "SET DATESTYLE TO 'European'"); //Set date format Since my ISP updated their server, this appears to be ignored as pgsql always returns dates in ISO format. 1. What is the default format of dates returned that I c

Re: [HACKERS] Ignored PostgreSQL SET command

2001-01-01 Thread Thomas Lockhart
> I have a line in a PHP script that looks like this: > $set=pg_exec($dbconn, "SET DATESTYLE TO 'European'"); //Set date format > Since my ISP updated their server, this appears to be ignored as pgsql > always returns dates in ISO format. > 1. What is the default format of dates returned t

Re: [HACKERS] Ignored PostgreSQL SET command

2001-01-01 Thread Oliver Elphick
"Patrick Dunford" wrote: >I have a line in a PHP script that looks like this: > > $set=pg_exec($dbconn, "SET DATESTYLE TO 'European'"); //Set date format > >Since my ISP updated their server, this appears to be ignored as pgsql >always returns dates in ISO format. > >1. What is