if nextval has never been called for this sequence in this session.) Notice that because this is returning a session-local value, it gives a predictable answer whether or not other sessions have executed nextval since the current session did.""" I'm very interested in an answer to the OP...
dict` subclass representing a data record.""" def __init__(self, *args, **kwargs): if args and isinstance(args[0], _cursor): cursor = args[0] args = args[1:] else: cursor = None super(RealDictRow, self).__init__(*args, **kwargs) if cursor is not None: # Required for...
When not enabled, convert arrays of network types to lists by default. The old `!Inet` adapter is deprecated (:tickets:`#317, #343, #387`).- Added `~psycopg2.extensions.quote_ident()` function (:ticket:`#359`).- Added `~connection.get_dsn_parameters()` connection method (:ticket...