Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport to queued_ltr_backports][Postgres] save of cleared attributes #45292

Merged

Conversation

troopa81
Copy link
Contributor

Backport of #45176

@github-actions github-actions bot added this to the 3.22.0 milestone Sep 28, 2021
@troopa81 troopa81 added Backport Is a backport of another pull request Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Sep 28, 2021
@@ -3021,7 +3021,12 @@ bool QgsPostgresProvider::changeAttributeValues( const QgsChangedAttributesMap &
sql += delim + QStringLiteral( "%1=" ).arg( quotedIdentifier( fld.name() ) );
delim = ',';

if ( fld.typeName() == QLatin1String( "geometry" ) )
QString defVal = defaultValueClause( siter.key() );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this could have been const but definitely not a big issue.

@elpaso elpaso merged commit 40e29f4 into qgis:queued_ltr_backports Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Is a backport of another pull request Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants