Re: php with postgres
От | Bruce Momjian |
---|---|
Тема | Re: php with postgres |
Дата | |
Msg-id | 200307212122.h6LLMxs18894@candle.pha.pa.us обсуждение исходный текст |
Ответ на | php with postgres (ivan <iv@psycho.pl>) |
Список | pgsql-hackers |
Marcus B?rger wrote: > Hello Bruce, > > Monday, July 21, 2003, 9:37:08 PM, you wrote: > > BM> Marcus B?rger wrote: > >> BM> Marcus, would you check if PHP is using RESET ALL when passing > >> BM> persistent connection to new clients? We added that capability a few > >> BM> releases ago, specifically for PHP persistent connections, but I don't > >> BM> think that ever got into the PHP code. > >> > >> Unfortunately we don't do so yet. Do i need to check for errors or can i do it > >> unconditionally on conenction start? And i'd need to know how to check if it > >> is available (like starting with which version). > > BM> It first appeared in PostgreSQL version 7.2. It doesn't generate any > BM> failures. It just resets all SET settting to their defaults, in case > BM> the previous client modified them. > > > Committed for PHP 5.0 if there is a version 4.4 or 4.5 i'll commit the patch > for that version, too. Now we need someone with a big site to test whether it > brings any new problems. If there aren't problems i could probably also commit I think Theis originally complained about it, perhaps two years ago. > to PHP 4.3.3. Btw. i don't do RESET ALL when creating the link because that > shouldn't be necessary. Right. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: