PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ _connect()

rtreader.RasterReader._connect (   self)
protected

Definition at line 134 of file rtreader.py.

134 def _connect(self):
135 try:
136 if self._conn is None:
137 self._conn = psycopg2.connect(self._connstr)
138 except Exception as e:
139 raise RasterError("Failed to connect to %s: %s" % (self._connstr, e))
140

References rtreader.RasterReader._conn, and rtreader.RasterReader._connstr.

Referenced by rtreader.RasterReader._setup().

Here is the caller graph for this function: