[Bug 285572] devel/gomigrate: unknown driver postgres

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Mar 2025 08:34:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285572

            Bug ID: 285572
           Summary: devel/gomigrate: unknown driver postgres
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dutra@FreeBSD.org
          Reporter: rm@FreeBSD.org
          Assignee: dutra@FreeBSD.org
             Flags: maintainer-feedback?(dutra@FreeBSD.org)

I'm trying to apply migrations against postgres database like this:

[rm@cf ~]% migrate -path /tmp/sq -database "postgres://xx:xx@xxx:xx/xx" up
error: failed to open database: database driver: unknown driver postgres
(forgotten import?)

So it looks like postgres support isn't compiled. How to fix that?

By the way, shouldn't this port belong to databases category?

[rm@cf ~]% pkg info gomigrate
gomigrate-4.18.2_1
Name           : gomigrate
Version        : 4.18.2_1
Installed on   : Fri Mar 21 11:22:12 2025 MSK

FreeBSD cf 15.0-CURRENT

-- 
You are receiving this mail because:
You are the assignee for the bug.