https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/contrib/gis/db/backends/postgis/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/contrib/gis/db/backends/postgis/introspection.pyc
�
r�\c@sPddlmZddlmZdefd��YZdefd��YZdS(i����(tDatabaseIntrospection(tOGRGeomTypetGeoIntrospectionErrorcBseZRS((t__name__t
__module__(((sV/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/postgis/introspection.pyRstPostGISIntrospectioncBsEeZiZejdddddgZd�Zd�Zd�ZRS(tgeography_columnstgeometry_columnstraster_columnstspatial_ref_systraster_overviewscCs�|jj�}d}zz|j|d�|j�d}id|6}|jjjr�|j|d�|j�d}ditd6f||<nWd|j�X|S(	s�
        Returns a dictionary with keys that are the PostgreSQL object
        identification integers for the PostGIS geometry and/or
        geography types (if supported).
        s0SELECT "oid" FROM "pg_type" WHERE "typname" = %stgeometryit
GeometryFieldt	geographyN(R(s	geography(t
connectiontcursortexecutetfetchonetopsR
tTruetclose(tselfRtoid_sqlt	GEOM_TYPEt
postgis_typest	GEOG_TYPE((sV/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/postgis/introspection.pytget_postgis_typess
cCsG|js.|j�|_|jj|j�ntt|�j||�S(N(tpostgis_types_reverseRtdata_types_reversetupdatetsuperRtget_field_type(Rt	data_typetdescription((sV/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/postgis/introspection.pyR0s	c	Cs&|jj�}z�y5|jd||f�|j�}|sFt�nWnEtk
r�|jjjr�|jd||f�|j�}q�nX|s�td||f��nt|d�j	}|d}|d}i}|dkr�||d<n|dkr
||d	<nWd
|j
�X||fS(s%
        The geometry type OID used by PostGIS does not indicate the particular
        type of field that a geometry column is (e.g., whether it's a
        PointField or a PolygonField).  Thus, this routine queries the PostGIS
        metadata tables to determine the geometry type,
        ssSELECT "coord_dimension", "srid", "type" FROM "geometry_columns" WHERE "f_table_name"=%s AND "f_geometry_column"=%ssuSELECT "coord_dimension", "srid", "type" FROM "geography_columns" WHERE "f_table_name"=%s AND "f_geography_column"=%ss;Could not find a geometry or geography column for "%s"."%s"iiii�tsridtdimN(RRRRRRR
t	ExceptionRtdjangoR(	Rt
table_nametgeo_colRtrowt
field_typeR#R"tfield_params((sV/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/postgis/introspection.pytget_geometry_type;s4	


	



(RRRRtignored_tablesRRR+(((sV/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/postgis/introspection.pyRs
		N(t4django.db.backends.postgresql_psycopg2.introspectionRtdjango.contrib.gis.gdalRR$RR(((sV/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/postgis/introspection.pyt<module>s

https://t.me/AnonymousX5 - 2025