We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9ed98a0 commit 2844005Copy full SHA for 2844005
src/providers/postgres/qgspostgresprovider.cpp
@@ -1103,6 +1103,9 @@ bool QgsPostgresProvider::determinePrimaryKey()
1103
if ( res.PQntuples() == 1 )
1104
{
1105
mPrimaryKeyType = pktTid;
1106
+
1107
+ QgsMessageLog::logMessage( tr( "Primary key is ctid - changing of existing features disabled (%1; %2)" ).arg( mGeometryColumn ).arg( mQuery ) );
1108
+ mEnabledCapabilities &= ~( QgsVectorDataProvider::DeleteFeatures | QgsVectorDataProvider::ChangeAttributeValues | QgsVectorDataProvider::ChangeGeometries );
1109
}
1110
else
1111
0 commit comments