tencent cloud

TencentDB for PostgreSQL

Release Notes and Announcements
Release Notes
Product Announcements
Product Introduction
Overview
Features
Strengths
Scenarios
Information Security
Regions and AZs
Product Feature List
Large version lifecycle description
MSSQL Compatible Version
Billing
Billing Overview
Instance Type and Specification
Purchase Methods
Refund
Overdue Payments
Backup Space Billing
Database Audit Billing Overview
Getting Started
Creating TencentDB for PostgreSQL Instance
Connecting to TencentDB for PostgreSQL Instance
Managing TencentDB for PostgreSQL Instance
Importing Data
Migrating Data with DTS
Kernel Version Introduction
Kernel Version Overview
Kernel Version Release Notes
Viewing Kernel Version
Proprietary Kernel Features
Database Audit
Audit Service Description
Activating Audit Service
View Audit Logs
Modify audit services
Audit Performance Description
User Guide
Instance Management
Upgrading Instance
CPU Elastic Scaling
Read-Only Instance
Account Management
Database Management
Parameter Management
Log Management and Analysis
Backup and Restoration
Data Migration
Extension Management
Network Management
Access Management
Data Security
Tenant and Resource Isolation
Security Groups
Monitoring and Alarms
Tag
AI Practice
Using the Tencentdb_ai Plug-In to Call Large Models
Building Ai Applications with the Tencentdb Ai Plug-In
Combining Supabase to Quickly Build Backend Service Based on TencentDB for PostgreSQL
Use Cases
postgres_fdw Extension for Cross-database Access
Automatically Creating Partition in PostgreSQL
Searching in High Numbers of Tags Based on pg_roaringbitmap
Querying People Nearby with One SQL Statement
Configuring TencentDB for PostgreSQL as GitLab's External Data Source
Supporting Tiered Storage Based on cos_fdw Extension
Implement Read/Write Separation via pgpool
Implementing Slow SQL Analysis Using the Auto_explain Plugin
Using pglogical for Logical Replication
Using Debezium to Collect PostgreSQL Data
Set Up a Remote Disaster Recovery Environment for PostgreSQL Locally on CVM
Read-Only Instance and Read-Only Group Practical Tutorial
How to Use SCF for Scheduled Database Operations
Fix Table Bloat
Performance White Paper
Test Methods
Test Results
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Read-only Replica APIs
Backup and Recovery APIs
Parameter Management APIs
Security Group APIs
Performance Optimization APIs
Account APIs
Specification APIs
Network APIs
Data Types
Error Codes
FAQs
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Extension Overview

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-01-24 11:16:51
This document describes the extensions supported by TencentDB for PostgreSQL.

Extension Overview

TencentDB for PostgreSQL supports multiple open-source and proprietary extensions. They help you perform instance OPS easier and improve the query and write performance as well as various capabilities such as token query, data retrieval, and incremental data migration.

Using Extension

Currently, TencentDB for PostgreSQL supports most common extensions for direct use. However, to enable certain extensions, you need to use specified versions or get special permissions. In this case, submit a ticket and provide the instance ID and extension name to enable it.

Creating Extension

When creating an extension, the pg_tencentdb_superuser is temporarily escalated to superuser and passes all permission checks. TencentDB for PostgreSQL extensions are managed at the database level. You can create different extensions for different databases, but databases cannot use extensions in other databases. To create an extension, access the database with the client tool and run the following statements:
CREATE EXTENSION [ IF NOT EXISTS ] extension_name
[ WITH ]
[ SCHEMA schema_name ]
[ VERSION version ]
[ FROM old_version ]

Viewing Created Extension

If you have installed extensions, you can run the following command to view the list of extensions installed in the current database:
You can run the \\dx command if you use the psql client.
\\dx
List of installed extensions
Name | Version | Schema | Description
---------------+---------+------------+---------------------------------------------------------------------
amcheck | 1.2 | public | functions for verifying relation integrity
bloom | 1.0 | public | bloom access method - signature file based index
hstore | 1.6 | public | data type for storing sets of (key, value) pairs
hstore_plperl | 1.0 | public | transform between hstore and plperl
jsonb_plperl | 1.0 | public | transform between jsonb and plperl
plperl | 1.0 | pg_catalog | PL/Perl procedural language
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
postgis | 3.0.2 | public | PostGIS geometry, geography, and raster spatial types and functions
(8 rows)
If you want to use SQL statements to view the extensions, run the select * from pg_available_extensions where installed_version is not null; statement to view the list of installed extensions.
name | default_version | installed_version | comment
---------------+-----------------+-------------------+---------------------------------------------------------------------
plperl | 1.0 | 1.0 | PL/Perl procedural language
amcheck | 1.2 | 1.2 | functions for verifying relation integrity
hstore_plperl | 1.0 | 1.0 | transform between hstore and plperl
plpgsql | 1.0 | 1.0 | PL/pgSQL procedural language
jsonb_plperl | 1.0 | 1.0 | transform between jsonb and plperl
hstore | 1.6 | 1.6 | data type for storing sets of (key, value) pairs
bloom | 1.0 | 1.0 | bloom access method - signature file based index
postgis | 3.0.2 | 3.0.2 | PostGIS geometry, geography, and raster spatial types and functions
(8 rows)

List of Supported Extensions

TencentDB for PostgreSQL supports multiple powerful and high-performance extensions. For the list of extensions supported by each database version, see Supported Extensions.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan