Skip to content

Commit 74863b9

Browse files
committed
add overview page
1 parent 71b7c37 commit 74863b9

File tree

2 files changed

+42
-11
lines changed

2 files changed

+42
-11
lines changed

articles/postgresql/migrate/migration-service/troubleshoot-error-codes-migration-service.md renamed to articles/postgresql/migrate/migration-service/troubleshoot-error-codes-migration-service-premigration.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Error codes for migration service in Azure Database for PostgreSQL
3-
description: Error codes for the migration service for Azure Database for PostgreSQL.
2+
title: Premigration error codes in the migration service.
3+
description: Error codes for troubleshooting and resolving issues during the migration process in Azure Database for PostgreSQL.
44
author: apduvuri
55
ms.author: adityaduvuri
66
ms.reviewer: maghan
@@ -19,28 +19,27 @@ The following tables provide a comprehensive list of error codes for the migrati
1919
| --- | --- | --- | --- |
2020
| 603000 | Connection failed. | Connection to the server `{0}` was unsuccessful. Ensure that the source server is reachable from the target or runtime server. | Refer to https://aka.ms/postgres-migrations-networking-faq for debugging connectivity issues. |
2121
| 603001 | SSL Configuration Error | The server `{0}` doesn't support SSL.Check SSL settings. Set SSL mode to *prefer* and retry the migration. | Refer to https://aka.ms/postgres-migrations-networking-faq for debugging connectivity issues. |
22-
| 603100 | Authentication failed. | The password for server {0} is incorrect. Enter the correct password and retry the migration. | |
23-
| 603100 | Authentication failed. | The password for server {0} is incorrect. Enter the correct password and retry the migration again. | |
22+
| 603100 | Authentication failed. | The password for server `{0}` is incorrect. Enter the correct password and retry the migration. | N/A |
2423
| 603101 | Database exists in target | Database `{0}` exists on the target server. Ensure the target server doesn't have the database and retry the migration. | |
2524
| 603102 | Source Database Missing | Database `{0}` doesn't exist on the source server. Provide a valid database and retry the migration. | |
2625
| 603103 | Missing Microsoft Entra role. | Microsoft Entra role `{0}` is missing on the target server. Create the Entra role and retry the migration. | |
2726
| 603104 | Missing Replication Role. | User `{0}` doesn't have the replication role on server `{1}`. Grant the replication role before retrying migration. | |
28-
| 603105 | GUC Settings Error | Insufficient replication slots on the source server for migration. Increase the 'max_replication_slots' GUC parameter to {0} or higher. | Use this query `SELECT * FROM pg_replication_slots WHERE active = false AND slot_type = 'logical';` to get the list of inactive replication slots and drop them using `SELECT pg_drop_replication_slot('slot_name');` before initiating the migration. Alternatively, set the 'max_replication_slots' server parameter to {0} or higher. Ensure that the 'max_wal_senders' parameter is also changed to be greater than or equal to the 'max_replication_slots' parameter. |
29-
| 603106 | GUC Settings Error | The 'max_wal_senders' GUC parameter is set to {0}. Ensure it matches or exceeds the 'max_replication_slots' value. | |
27+
| 603105 | GUC Settings Error | Insufficient replication slots on the source server for migration. Increase the 'max_replication_slots' GUC parameter to `{0}` or higher. | Use this query `SELECT * FROM pg_replication_slots WHERE active = false AND slot_type = 'logical';` to get the list of inactive replication slots and drop them using `SELECT pg_drop_replication_slot('slot_name');` before initiating the migration. Alternatively, set the 'max_replication_slots' server parameter to `{0}` or higher. Ensure that the 'max_wal_senders' parameter is also changed to be greater than or equal to the 'max_replication_slots' parameter. |
28+
| 603106 | GUC Settings Error | The 'max_wal_senders' GUC parameter is set to `{0}`. Ensure it matches or exceeds the 'max_replication_slots' value. | |
3029
| 603107 | GUC Settings Error | Source server WAL level parameter is set to `{0}`. Set GUC parameter WAL level to be 'logical'. | |
3130
| 603108 | Extensions allowlist required. | Extensions `{0}` couldn't be installed on the target server because they're not allowlisted. Allowlist the extensions and retry the migration. | |
3231
| 603109 | Shared preload libraries configuration error. | Add allowlisted extensions `{0}` to 'shared_preload_libraries' on the target server and retry the migration. | change triggers a restart of the server. |
33-
| 603400 | Unsupported source version | Migration of PostgreSQL versions below {0} is unsupported. | https://aka.ms/DumpandRestore |
34-
| 603401 | Collation mismatch. | Collation {0} in database {1} isn't present on target server. | |
35-
| 603402 | Collation mismatch. | Collation {0} for table {1} in column {2} isn't present on target server. | Contact Microsoft support to add the necessary collations. |
32+
| 603400 | Unsupported source version | Migration of PostgreSQL versions below `{0}` is unsupported. | https://aka.ms/DumpandRestore |
33+
| 603401 | Collation mismatch. | Collation `{0}` in database `{1}` isn't present on target server. | |
34+
| 603402 | Collation mismatch. | Collation `{0}` for table `{1}` in column `{2}` isn't present on target server. | Contact Microsoft support to add the necessary collations. |
3635
| 603403 | Collation mismatch. | Source database contains user-defined collations. Drop these collations and retry the migration. | |
3736
| 603404 | Unsupported OIDs Detected | Tables with 'WITH OIDs' detected in database `{0}`. They aren't supported in PostgreSQL version 12 and later. | For more details, refer to this link: https://www.postgresql.org/docs/release/12.0. |
3837
| 603405 | Unsupported Extensions | The migration service doesn't support the migration of databases with `{0}` extensions on the target server. | |
39-
| 603406 | Unsupported Extensions | Target PostgreSQL {0} supports POSTGIS version 3.2.3, which is incompatible with source's {1}. | Recommend target server upgrade to version 11.For more information on the breaking changes, visit this link: https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.4.1/NEWS. |
38+
| 603406 | Unsupported Extensions | Target PostgreSQL `{0}` supports POSTGIS version 3.2.3, which is incompatible with source's `{1}`. | Recommend target server upgrade to version 11.For more information on the breaking changes, visit this link: https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.4.1/NEWS. |
4039
| 603407 | Extension Schema Error | Extensions `{0}` located in the system schema on the source server are unsupported on the target server. Drop and recreate the extensions in a nonsystem schema, then retry the migration. | |
4140
| 603408 | Unsupported Extensions | Target server version 16 doesn't support `{0}` extensions. Migrate to version 15 or lower, then upgrade once the extensions are supported. | |
4241
| 603409 | User-defined casts present. | Source database `{0}` contains user-defined casts that can't be migrated to the target server. | |
43-
| 603410 | System table permission error. | Users have access to system tables like pg_authid and pg_shadow that can't be migrated to the target. Revoke these permissions and retry the migration. | Validates for default permissions given to pg_catalog tables/views(pg_authid, pg_shadow etc.) which aren't allowed to be given on target. Refer to the following link for potential workarounds: https://aka.ms/troubleshooting-user-roles-permission-ownerships-issues. User `{1}` has '{2}' permissions, and user '{3}' has '{4}' permissions. |
42+
| 603410 | System table permission error. | Users have access to system tables like pg_authid and pg_shadow that can't be migrated to the target. Revoke these permissions and retry the migration. | Validates for default permissions given to pg_catalog tables/views(pg_authid, pg_shadow etc.) which aren't allowed to be given on target. Refer to the following link for potential workarounds: https://aka.ms/troubleshooting-user-roles-permission-ownerships-issues. User `{1}` has `{2}` permissions, and user `{3}` has `{4}` permissions. |
4443

4544
## Related content
4645

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Error codes in the migration service
3+
description: Consult the premigration validation error code list in the migration service for Azure Database for PostgreSQL to troubleshoot issues during migration.
4+
author: apduvuri
5+
ms.author: adityaduvuri
6+
ms.reviewer: maghan
7+
ms.date: 05/08/2024
8+
ms.service: postgresql
9+
ms.subservice: flexible-server
10+
ms.topic: error-reference
11+
ms.custom:
12+
- troubleshooting
13+
---
14+
15+
# Premigration error codes in the migration service for Azure Database for PostgreSQL
16+
17+
This article contains error message numbers and their description. Where applicable, the error number is a link to further information.
18+
19+
For the full range of error numbers, see the list on [Premigration validation error codes in the migration service for Azure Database for PostgreSQL](troubleshoot-error-codes-migration-service-premigration.md).
20+
21+
## Errors codes (premigration)
22+
23+
Visit the following sections for more detail about error and event codes:
24+
25+
[Premigration validation error codes in the migration service for Azure Database for PostgreSQL](troubleshoot-error-codes-migration-service-premigration.md)
26+
27+
## Related content
28+
29+
- [Troubleshoot the migration service for Azure Database for PostgreSQL](https://aka.ms/postgres-migrations-networking-faq)
30+
- [Best practices for seamless migration into Azure Database for PostgreSQL](best-practices-migration-service-postgresql.md)
31+
- [Network guide for migration service in Azure Database for PostgreSQL](how-to-network-setup-migration-service.md)
32+
- [Known issues and limitations for the migration service in Azure Database for PostgreSQL](concepts-known-issues-migration-service.md)

0 commit comments

Comments
 (0)