Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning"s" and exception"s" should report PostgreSQL version information #45

Open
XSven opened this issue Feb 10, 2025 · 0 comments
Open

Comments

@XSven
Copy link

XSven commented Feb 10, 2025

Such errors

#   Failed test 'No tests run for subtest "Migrate to version 1"'
#   at t/06-postgres-trigger.t line 42.
CREATE TABLE products(
   id INT GENERATED ALWAYS AS IDENTITY,
   name VARCHAR(100) NOT NULL,
   price NUMERIC(10,2) NOT NULL,
   PRIMARY KEY(id)
)
DBD::Pg::db do failed: FEHLER:  Syntaxfehler bei "GENERATED"
ZEILE 2:    id INT GENERATED ALWAYS AS IDENTITY,
                   ^ at /usr/home/cpansand/.cpan/build/2025020720/DBIx-Migration-0.11-0/blib/lib/DBIx/Migration.pm line 90.
Pg refused to die gracefully; killing it violently.

would be easier to understand and to fix if the Test::PostgreSQL warning

Pg refused to die gracefully; killing it violently.

would contain PostgreSQL version information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant