Package osh :: Package external :: Package pg8000 :: Module protocol :: Class Connection
[frames] | no frames]

Class Connection

source code

object --+
         |
        Connection

Instance Methods
 
__init__(self, unix_sock=None, host=None, port=5432, socket_timeout=60, ssl=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
verifyState(self, state) source code
 
authenticate(self, user, **kwargs) source code
 
parse(self, *args, **kwargs) source code
 
bind(self, *args, **kwargs) source code
 
fetch_rows(self, *args, **kwargs) source code
 
close_statement(self, *args, **kwargs) source code
 
close_portal(self, *args, **kwargs) source code
 
close(self) source code
 
handleNoticeResponse(self, msg) source code
 
handleParameterStatus(self, msg) source code
 
handleNotificationResponse(self, msg) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, unix_sock=None, host=None, port=5432, socket_timeout=60, ssl=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

parse(self, *args, **kwargs)

source code 
Decorators:
  • @sync_on_error

bind(self, *args, **kwargs)

source code 
Decorators:
  • @sync_on_error

fetch_rows(self, *args, **kwargs)

source code 
Decorators:
  • @sync_on_error

close_statement(self, *args, **kwargs)

source code 
Decorators:
  • @sync_on_error

close_portal(self, *args, **kwargs)

source code 
Decorators:
  • @sync_on_error