gnu: databases: Define postgresql-10.
authorChristopher Baines <mail@cbaines.net>
Fri, 2 Oct 2020 18:08:35 +0000 (19:08 +0100)
committerChristopher Baines <mail@cbaines.net>
Tue, 20 Oct 2020 21:39:43 +0000 (22:39 +0100)
So that it can be used, rather than postgresql. Because the major version of
the package is important, as it relates to the compatability with the data
files used by the service, it's useful to have a stable name to refer to a
package for version 10 of PostgreSQL.

* gnu/packages/databases.scm (postgresql-10): New variable.

gnu/packages/databases.scm

index 1236f57..0d8342b 100644 (file)
@@ -1040,6 +1040,8 @@ TIMESTAMP.  It also supports storage of binary large objects, including
 pictures, sounds, or video.")
     (license (license:x11-style "file://COPYRIGHT"))))
 
+(define-public postgresql-10 postgresql)
+
 (define-public postgresql-11
   (package
     (inherit postgresql)