Skip to content

Commit

Permalink
add missing postgres provider symbol and link spit with QgsPostgresConn
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 9, 2012
1 parent ce4fc1d commit aa01596
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/spit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
SET (SPIT_SRCS
qgsspit.cpp
../../providers/postgres/qgspgnewconnection.cpp
../../providers/postgres/qgspostgresconn.cpp
qgspgutil.cpp
qgsshapefile.cpp
)
Expand All @@ -30,6 +31,7 @@ SET (SPIT_EXE_MOC_HDRS
qgsspit.h
qgsshapefile.h
../../providers/postgres/qgspgnewconnection.h
../../providers/postgres/qgspostgresconn.h
)

SET (SPIT_PLUGIN_MOC_HDRS
Expand Down
6 changes: 6 additions & 0 deletions src/providers/postgres/qgspostgresconn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ int QgsPostgresResult::PQftable( int col )
return ::PQftable( mRes, col );
}

int QgsPostgresResult::PQftablecol( int col )
{
Q_ASSERT( mRes );
return ::PQftablecol( mRes, col );
}

int QgsPostgresResult::PQftype( int col )
{
Q_ASSERT( mRes );
Expand Down

0 comments on commit aa01596

Please sign in to comment.