Skip to content
Permalink
Browse files
add missing postgres provider symbol and link spit with QgsPostgresConn
  • Loading branch information
jef-n committed Jan 9, 2012
1 parent ce4fc1d commit aa015964d26cf2e1a0abb961201630bd0b224eeb
Showing with 8 additions and 0 deletions.
  1. +2 −0 src/plugins/spit/CMakeLists.txt
  2. +6 −0 src/providers/postgres/qgspostgresconn.cpp
@@ -5,6 +5,7 @@
SET (SPIT_SRCS
qgsspit.cpp
../../providers/postgres/qgspgnewconnection.cpp
../../providers/postgres/qgspostgresconn.cpp
qgspgutil.cpp
qgsshapefile.cpp
)
@@ -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
@@ -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 );

0 comments on commit aa01596

Please sign in to comment.