Show all the available isolation levels in ZPsycopgDA menu

This commit is contained in:
Daniele Varrazzo 2012-09-20 15:33:36 +01:00
parent 6e57f32f8d
commit f1a8c075ab
2 changed files with 9 additions and 1 deletions

View File

@ -78,8 +78,10 @@ or DSN for short) is a string... (TODO: finish docs)
</td>
<td align="left" valign="top">
<select name="tilevel:int">
<option value="4">Read uncommitted</option>
<option value="1">Read committed</option>
<option value="2" selected="YES">Serializable</option>
<option value="2" selected="YES">Repeatable read</option>
<option value="3">Serializable</option>
</select>
</td>
</tr>

View File

@ -44,11 +44,17 @@
</td>
<td align="left" valign="top">
<select name="tilevel:int">
<option value="4"
<dtml-if expr="tilevel==4">selected="YES"</dtml-if>>
Read uncommitted</option>
<option value="1"
<dtml-if expr="tilevel==1">selected="YES"</dtml-if>>
Read committed</option>
<option value="2"
<dtml-if expr="tilevel==2">selected="YES"</dtml-if>>
Repeatable read</option>
<option value="3"
<dtml-if expr="tilevel==3">selected="YES"</dtml-if>>
Serializable</option>
</select>
</td>