#NEWLINE# def is_plpgsql_installed( self ) : #NEWLINE# #INDENT# 'Is PL/pgSQL installed?' #NEWLINE# curs = pgexecute ( self . conn , "SELECT 1 FROM pg_language WHERE lanname = 'plpgsql'" ) #NEWLINE# row = curs . fetchone ( ) #NEWLINE# curs . close ( ) #NEWLINE# return ( row and True )