Ignored PostgreSQL SET command

Поиск
Список
Период
Сортировка
От Patrick Dunford
Тема Ignored PostgreSQL SET command
Дата
Msg-id 000701c07472$7045f2e0$3acda7cb@patrickspc
обсуждение исходный текст
Ответы Re: Ignored PostgreSQL SET command  ("Oliver Elphick" <olly@lfix.co.uk>)
Список pgsql-hackers
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 can ALWAYS rely on?

2. Why is the command ignored?

=======================================================================
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
  There is no wisdom, no insight, no plan that can succeed against
the LORD.   -- Proverbs 21:30
http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010101
=======================================================================
Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: RE: PHP and PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PHP and PostgreSQL