You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "hoey94 (via GitHub)" <gi...@apache.org> on 2023/07/14 15:25:34 UTC

[GitHub] [dolphinscheduler] hoey94 opened a new pull request, #14559: [fix-14517][Bug][api] An error occurred while trying to access the Postgres data…

hoey94 opened a new pull request, #14559:
URL: https://github.com/apache/dolphinscheduler/pull/14559

   ## Purpose of the pull request
   
   This pull request fix bug. detail: https://github.com/apache/dolphinscheduler/issues/14517
   
   ## Brief change log
   
   old code:
   ```java
   if (dataSource.getType() == DbType.POSTGRESQL) {
       rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY_PG);
   } 
   rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY);
   ```
   new code:
   ```java
   if (dataSource.getType() == DbType.POSTGRESQL) {
       rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY_PG);
   } else {
       rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY);
   }
   ```
   
   ## Verify this pull request
   This change can be verified as follows:
   
   Manually verified the change by testing locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hoey94 closed pull request #14559: [fix-14517][Bug][api] An error occurred while trying to access the Postgres data…

Posted by "hoey94 (via GitHub)" <gi...@apache.org>.
hoey94 closed pull request #14559: [fix-14517][Bug][api] An error occurred while trying to access the Postgres data…
URL: https://github.com/apache/dolphinscheduler/pull/14559


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org