# Connections

> langchain_azure_postgresql → Connections

## Classes

- [`AzurePGVectorStore`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore)
- [`FilterCondition`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/FilterCondition)
- [`AndFilter`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/AndFilter)
- [`OrFilter`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/OrFilter)
- [`AsyncAzurePGVectorStore`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore)
- [`ConnectionInfo`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/ConnectionInfo)
- [`AzurePGConnectionPool`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/AzurePGConnectionPool)
- [`SSLMode`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode)
- [`BasicAuth`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BasicAuth)
- [`BaseConnectionInfo`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo)
- [`VectorOpClass`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass)
- [`VectorType`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorType)
- [`Algorithm`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Algorithm)
- [`SearchParams`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SearchParams)
- [`DiskANNIterativeScanMode`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNIterativeScanMode)
- [`DiskANNSearchParams`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNSearchParams)
- [`DiskANN`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANN)
- [`HNSWIterativeScanMode`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWIterativeScanMode)
- [`HNSWSearchParams`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWSearchParams)
- [`HNSW`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSW)
- [`IVFFlatIterativeScanMode`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatIterativeScanMode)
- [`IVFFlatSearchParams`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatSearchParams)
- [`IVFFlat`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlat)
- [`Extension`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Extension)
- [`AsyncConnectionInfo`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/AsyncConnectionInfo)
- [`AsyncAzurePGConnectionPool`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/AsyncAzurePGConnectionPool)

## Functions

- [`check_connection()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/check_connection)
- [`create_extensions()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/create_extensions)
- [`reconnect_failed_wrapper()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/AzurePGConnectionPool/__init__/reconnect_failed_wrapper)
- [`get_username_password()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/get_username_password)
- [`async_check_connection()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/async_check_connection)
- [`async_create_extensions()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/async_create_extensions)
- [`reconnect_failed_wrapper()`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/AsyncAzurePGConnectionPool/__init__/reconnect_failed_wrapper)

## Modules

- [`langchain_azure_postgresql`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain_azure_postgresql)
- [`langchain`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain)
- [`aio`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio)
- [`common`](https://reference.langchain.com/python/langchain-azure-postgresql/common)
- [`aio`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio)

## Types

- [`ScalarType`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/ScalarType)
- [`Filter`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/Filter)

## Constants

- [`embedding`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/embedding)
- [`connection`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/connection)
- [`schema_name`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/schema_name)
- [`table_name`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/table_name)
- [`id_column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/id_column)
- [`content_column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/content_column)
- [`embedding_column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/embedding_column)
- [`embedding_type`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/embedding_type)
- [`embedding_dimension`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/embedding_dimension)
- [`embedding_index`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/embedding_index)
- [`metadata_columns`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/metadata_columns)
- [`model_config`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/model_config)
- [`embeddings`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_vectorstore/AzurePGVectorStore/embeddings)
- [`column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/FilterCondition/column)
- [`operator`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/FilterCondition/operator)
- [`value`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/FilterCondition/value)
- [`AND`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/AndFilter/AND)
- [`OR`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/_shared/OrFilter/OR)
- [`embedding`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/embedding)
- [`connection`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/connection)
- [`schema_name`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/schema_name)
- [`table_name`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/table_name)
- [`id_column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/id_column)
- [`content_column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/content_column)
- [`embedding_column`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/embedding_column)
- [`embedding_type`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/embedding_type)
- [`embedding_dimension`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/embedding_dimension)
- [`embedding_index`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/embedding_index)
- [`metadata_columns`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/metadata_columns)
- [`model_config`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/model_config)
- [`embeddings`](https://reference.langchain.com/python/langchain-azure-postgresql/langchain/aio/_vectorstore/AsyncAzurePGVectorStore/embeddings)
- [`model_config`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/ConnectionInfo/model_config)
- [`credentials`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_connection/ConnectionInfo/credentials)
- [`R`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/R)
- [`SP`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SP)
- [`TOKEN_CREDENTIAL_SCOPE`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/TOKEN_CREDENTIAL_SCOPE)
- [`disable`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode/disable)
- [`allow`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode/allow)
- [`prefer`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode/prefer)
- [`require`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode/require)
- [`verify_ca`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode/verify_ca)
- [`verify_full`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/SSLMode/verify_full)
- [`username`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BasicAuth/username)
- [`password`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BasicAuth/password)
- [`application_name`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo/application_name)
- [`host`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo/host)
- [`dbname`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo/dbname)
- [`port`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo/port)
- [`sslmode`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/BaseConnectionInfo/sslmode)
- [`vector_cosine_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/vector_cosine_ops)
- [`vector_ip_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/vector_ip_ops)
- [`vector_l1_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/vector_l1_ops)
- [`vector_l2_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/vector_l2_ops)
- [`halfvec_cosine_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/halfvec_cosine_ops)
- [`halfvec_ip_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/halfvec_ip_ops)
- [`halfvec_l1_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/halfvec_l1_ops)
- [`halfvec_l2_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/halfvec_l2_ops)
- [`sparsevec_cosine_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/sparsevec_cosine_ops)
- [`sparsevec_ip_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/sparsevec_ip_ops)
- [`sparsevec_l1_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/sparsevec_l1_ops)
- [`sparsevec_l2_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/sparsevec_l2_ops)
- [`bit_hamming_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/bit_hamming_ops)
- [`bit_jaccard_ops`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorOpClass/bit_jaccard_ops)
- [`bit`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorType/bit)
- [`halfvec`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorType/halfvec)
- [`sparsevec`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorType/sparsevec)
- [`vector`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/VectorType/vector)
- [`op_class`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Algorithm/op_class)
- [`maintenance_work_mem`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Algorithm/maintenance_work_mem)
- [`max_parallel_maintenance_workers`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Algorithm/max_parallel_maintenance_workers)
- [`max_parallel_workers`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Algorithm/max_parallel_workers)
- [`off`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNIterativeScanMode/off)
- [`relaxed`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNIterativeScanMode/relaxed)
- [`strict`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNIterativeScanMode/strict)
- [`l_value_is`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNSearchParams/l_value_is)
- [`iterative_search`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANNSearchParams/iterative_search)
- [`max_neighbors`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANN/max_neighbors)
- [`l_value_ib`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANN/l_value_ib)
- [`product_quantized`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANN/product_quantized)
- [`pq_param_num_chunks`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANN/pq_param_num_chunks)
- [`pq_param_training_samples`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/DiskANN/pq_param_training_samples)
- [`off`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWIterativeScanMode/off)
- [`relaxed`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWIterativeScanMode/relaxed)
- [`strict`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWIterativeScanMode/strict)
- [`ef_search`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWSearchParams/ef_search)
- [`iterative_scan`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWSearchParams/iterative_scan)
- [`max_scan_tuples`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWSearchParams/max_scan_tuples)
- [`scan_mem_multiplier`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSWSearchParams/scan_mem_multiplier)
- [`m`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSW/m)
- [`ef_construction`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/HNSW/ef_construction)
- [`off`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatIterativeScanMode/off)
- [`relaxed`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatIterativeScanMode/relaxed)
- [`probes`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatSearchParams/probes)
- [`iterative_scan`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatSearchParams/iterative_scan)
- [`max_probes`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlatSearchParams/max_probes)
- [`lists`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/IVFFlat/lists)
- [`ext_name`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Extension/ext_name)
- [`ext_version`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Extension/ext_version)
- [`schema_name`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Extension/schema_name)
- [`cascade`](https://reference.langchain.com/python/langchain-azure-postgresql/common/_shared/Extension/cascade)
- [`model_config`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/AsyncConnectionInfo/model_config)
- [`credentials`](https://reference.langchain.com/python/langchain-azure-postgresql/common/aio/_connection/AsyncConnectionInfo/credentials)
