Revert "Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()"

This reverts commit 59c0df962a.
This is necessary to preserve the casing of column names, otherwise pgsql converts everything to lowercase.
TIL, Unlike mysql, a quoted column still refers to the column itself...
sedebug
Justin Clark-Casey (justincc) 2015-01-13 21:50:11 +00:00
parent 24695dc05b
commit f9d2121bcf
1 changed files with 5 additions and 5 deletions

View File

@ -1026,11 +1026,11 @@ namespace OpenSim.Data.PGSQL
string query = string.Empty;
query += "UPDATE userdata SET ";
query += "TagId = :TagId, ";
query += "DataKey = :DataKey, ";
query += "DataVal = :DataVal WHERE ";
query += "UserId = :UserId AND ";
query += "TagId = :TagId";
query += "\"TagId\" = :TagId, ";
query += "\"DataKey\" = :DataKey, ";
query += "\"DataVal\" = :DataVal WHERE ";
query += "\"UserId\" = :UserId AND ";
query += "\"TagId\" = :TagId";
try
{