Giter Club home page Giter Club logo

Comments (3)

lukaszbudnik avatar lukaszbudnik commented on June 14, 2024

@kwiatek-kainos it looks like the pg/lib supports application_name as a part of the connection string and can be used like this:

dataSource: "user=postgres dbname=migrator_test host=192.168.99.100 port=55432 sslmode=disable application_name=migrator"

Documentation also mentions that the application_name can be read from PGAPPNAME env variable or even fallback_application_name param.

Can you verify if that's the case?

from migrator.

kwiatek-kainos avatar kwiatek-kainos commented on June 14, 2024

Yes, I'm well aware of those options but this ticket is about increasing usability of the application.

I believe without this change migrator passes on responsibility to from its own (its implementation) to the end user (his configuration) to make monitoring straightforward.
Consequently usability gets degraded.

As I have given in the example pgjdbc/pgjdbc for Java has a sane default where the end user does not have to configure the driver to achieve the very same result.
I reckon in this regard pgjdbc is easier to use and consider this ticket to be a nice to have feature.

from migrator.

lukaszbudnik avatar lukaszbudnik commented on June 14, 2024

Closing. This can be achieved by configuration.

from migrator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.