Skip to content
Permalink
Browse files

Merge pull request #37339 from qgis/pg_name-field-length-63

PG: fix "name" field length (63 instead of 64)
  • Loading branch information
elpaso committed Jun 24, 2020
2 parents b3e34c0 + e535f43 commit 088885645cdc79fe972da59baea273b47c9591ed
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/postgres/qgspostgresprovider.cpp
@@ -1123,8 +1123,7 @@ bool QgsPostgresProvider::loadFields()
else if ( fieldTypeName == QLatin1String( "name" ) )
{
fieldSubType = QVariant::String;
// "name" type lenght is 64 according to: SELECT typlen FROM pg_type WHERE typname = 'name';
fieldSize = 64;
fieldSize = 63;
}
else
{

0 comments on commit 0888856

Please sign in to comment.
You can’t perform that action at this time.