diff --git a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs index c7b1d8b690..48dd4f0a84 100644 --- a/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs +++ b/OpenSim/Data/PGSQL/PGSQLUserProfilesData.cs @@ -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 {