My doubt is - do we need to explicitly set it ON? Since the default setting 
is ON, any client connecting will have it turned ON anyway?

On Sunday, November 24, 2013 1:48:23 PM UTC+5:30, Massimo Di Pierro wrote:
>
> It must be done for every connection. Do you have connection pooling on? 
> If a connection is recycled it should not do it again.
>
> On Saturday, 23 November 2013 22:49:47 UTC-6, Jayadevan M wrote:
>>
>> Thanks for the reply. OK, let us take this forward on the first one 
>> (default behaviour). Since the default behaviour is to SET 
>> standard_conforming_strings=on, is there a need to do it again, for each 
>> connection/call? It will incur an ever-so-small overhead which can be 
>> avoided?
>>
>> On Saturday, November 23, 2013 7:31:00 PM UTC+5:30, Massimo Di Pierro 
>> wrote:
>>>
>>> You raise two issues:
>>>
>>> 1) About
>>> SET standard_conforming_strings=on
>>> This is required and in fact as you say it is the default behavior since 
>>> 9.1. This has nothing to do which locking.
>>>
>>> 2) You see exclusive locks. Which locks? Can you say more?
>>>
>>>
>>>
>>> On Saturday, 23 November 2013 05:53:02 UTC-6, Jayadevan M wrote:
>>>>
>>>> I am testing our web2py application with a few concurrent users. While 
>>>> monitoring the database (PostgreSQL), I can see a number of exclusive 
>>>> locks. The SQL is 
>>>> SET standard_conforming_strings=on
>>>> Is this expected behaviour?
>>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to