File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
database-commons/src/main/java/io/cdap/plugin/util
postgresql-plugin/src/main/java/io/cdap/plugin/postgres Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ public final class DBUtils {
6161
6262 public static final Calendar PURE_GREGORIAN_CALENDAR = createPureGregorianCalender ();
6363 public static final String MYSQL_SUPPORTED_DOC_URL = "https://dev.mysql.com/doc/mysql-errors/9.0/en/" ;
64+ public static final String POSTGRES_SUPPORTED_DOC_URL =
65+ "https://www.postgresql.org/docs/current/errcodes-appendix.html" ;
6466
6567 // Java by default uses October 15, 1582 as a Gregorian cut over date.
6668 // Any timestamp created with time less than this cut over date is treated as Julian date.
Original file line number Diff line number Diff line change 1919import io .cdap .cdap .api .exception .ErrorCategory ;
2020import io .cdap .cdap .api .exception .ErrorType ;
2121import io .cdap .plugin .db .DBErrorDetailsProvider ;
22+ import io .cdap .plugin .util .DBUtils ;
2223
2324import java .util .HashMap ;
2425import java .util .Map ;
@@ -71,7 +72,7 @@ public class PostgresErrorDetailsProvider extends DBErrorDetailsProvider {
7172
7273 @ Override
7374 protected String getExternalDocumentationLink () {
74- return "https://www.postgresql.org/docs/current/errcodes-appendix.html" ;
75+ return DBUtils . POSTGRES_SUPPORTED_DOC_URL ;
7576 }
7677
7778 @ Override
You can’t perform that action at this time.
0 commit comments