#NEWLINE# @ util . memoized_instancemethod #NEWLINE# def _hstore_oids( self , conn ) : #NEWLINE# #INDENT# if ( self . psycopg2_version >= ( 2 , 4 ) ) : #NEWLINE# #INDENT# from psycopg2 import extras #NEWLINE# oids = extras . HstoreAdapter . get_oids ( conn ) #NEWLINE# if ( ( oids is not None ) and oids [ 0 ] ) : #NEWLINE# #INDENT# return oids [ 0 : 2 ] #NEWLINE# #UNINDENT# #UNINDENT# return None