[Info-ingres] is there a way of checking that the lockmode has been set?

Allan Biggs Allan.Biggs at GBR.dupont.com
Wed Feb 24 15:03:33 UTC 2016


I later discovered  (for windows)

SET ING_SET=SET LOCKMODE SESSION WHERE READLOCK=NOLOCK 
and 
SET ING_SET_node1::db_allan =SET LOCKMODE SESSION WHERE READLOCK=NOLOCK 

I was just surprised that "::" is OK in the environment variable 
Is there a way of checking that the lockmode has been set in the 
ingres_net database? 

Thanks
Allan






From:   Allan Biggs <Allan.Biggs at GBR.dupont.com>
To:     "info-ingres at lists.planetingres.org" 
<info-ingres at lists.planetingres.org>
Date:   24/02/2016 12:12
Subject:        [Info-ingres] ing_set on linux and windows
Sent by:        info-ingres-bounces at lists.planetingres.org



I want to do some testing on a live IngresNet database from both a Linux 
box and W7 enterprise PC 


I want to "set lockmode session where readlock = nolock" 

so that I don't lock any tables/rows in a live database. 
I really want to do it for an individual database or a node is it possible 
to do this on both platforms 

I found this in the documentation 

setenv ING_SET_DBNAME 'set-statement {; set-statement}'   

but how do you specify the DBNAME if the database is defined by NETUTIL 
e.g.  as node1::db_allan 


thanks 
Allan

This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.
Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean
          http://www.DuPont.com/corp/email_disclaimer.html
_______________________________________________
Info-ingres mailing list
Info-ingres at lists.planetingres.org
http://lists.planetingres.org/mailman/listinfo/info-ingres


This communication is for use by the intended recipient and contains
information that may be Privileged, confidential or copyrighted under
applicable law. If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited. Please notify the sender by
return e-mail and delete this e-mail from your system. Unless explicitly
and conspicuously designated as "E-Contract Intended", this e-mail does
not constitute a contract offer, a contract amendment, or an acceptance
of a contract offer. This e-mail does not constitute a consent to the
use of sender's contact information for direct marketing purposes or for
transfers of data to third parties.

Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

          http://www.DuPont.com/corp/email_disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20160224/92f59c45/attachment.html>


More information about the Info-ingres mailing list