You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In-place upgrades of database extensions are allowed through a simple command. This feature enables customers to automatically update their third-party extensions to the latest versions, maintaining current and secure systems without manual effort.
106
+
107
+
### Updating Extensions
108
+
To update an installed extension to the latest available version supported by Azure, use the following SQL command:
109
+
110
+
```sql
111
+
ALTER EXTENSION <extension-name>UPDATE;
112
+
```
113
+
114
+
This command simplifies the management of database extensions by automatically upgrading to the latest version approved by Azure, enhancing both compatibility and security.
115
+
116
+
### Limitations
117
+
While updating extensions is straightforward, there are certain limitations:
118
+
-**Specific Version Selection**: The command does not support updating to intermediate versions of an extension. It will always update to the latest available version.
119
+
-**Downgrading**: Azure does not currently support downgrading an extension to a previous version through a similar command. If a downgrade is necessary, it might require manual intervention or support assistance.
120
+
121
+
#### Viewing Installed Extensions
122
+
To list the extensions currently installed on your database, use the following SQL command:
123
+
124
+
```sql
125
+
SELECT*FROM pg_extension;
126
+
```
127
+
128
+
#### Available Extension Versions
129
+
To check which versions of an extension are available for your current database installation, execute:
130
+
131
+
```sql
132
+
SELECT*FROM pg_available_extension_versions;
133
+
```
134
+
These commands provide necessary insights into the extension configurations of your database, helping maintain your systems efficiently and securely. By enabling easy updates to the latest extension versions, Azure Database for PostgreSQL - Flexible Server continues to support the robust, secure, and efficient management of your database applications.
135
+
104
136
## dblink and postgres_fdw
105
137
106
138
[dblink](https://www.postgresql.org/docs/current/contrib-dblink-function.html) and [postgres_fdw](https://www.postgresql.org/docs/current/postgres-fdw.html) allow you to connect from one Azure Database for PostgreSQL flexible server instance to another, or to another database in the same server. Azure Database for PostgreSQL flexible server supports both incoming and outgoing connections to any PostgreSQL server. The sending server needs to allow outbound connections to the receiving server. Similarly, the receiving server needs to allow connections from the sending server.
0 commit comments