#NEWLINE# def get_pg_version( self ) : #NEWLINE# #INDENT# 'Return the version of the selected database.' #NEWLINE# data = self . call_psql ( 'SELECT version();' ) #NEWLINE# pgver = self . parse_pg_version ( data ) #NEWLINE# logger . debug ( 'PostgreSQL version: %d.%d.%d' , * pgver ) #NEWLINE# return pgver