This file is indexed.

/usr/share/postgresql-common/supported-versions is in postgresql-client-common 129.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/sh

# print a list of PostgreSQL versions that are supported for the platform this
# script runs on.
# Note: Newer installed versions than the highest one listed here are always
# considered supported, so that backports will not cause an "obsolete" warning.
#
# (C) 2005 Martin Pitt <mpitt@debian.org>

set -e

DEFAULT="9.1"

lsb_ubuntu() {
    case "$1" in
        8.04 | 8.10 | 9.04)
            /bin/echo -e "8.3\n8.4"
            ;;
	9.10|10.04|10.10|11.04)
            /bin/echo -e "8.4"
            ;;
	11.10|12.04)
            /bin/echo -e "9.1"
            ;;
        *)
            echo "supported_versions: WARNING: Unknown Ubuntu release: $1" >&2
            /bin/echo -e "$DEFAULT"
            ;;
    esac
} 

lsb_debian() {
    case "$1" in
        # Lenny
        5.0*)
            /bin/echo -e "8.3"
            ;;
        # Squeeze
	6.0*)
            /bin/echo -e "8.4"
            ;;
        # unstable
        testing | unstable)
            /bin/echo -e "9.1"
            ;;
        *)
            echo "supported_versions: WARNING: Unknown Debian release: $1" >&2
            /bin/echo -e "$DEFAULT"
            ;;
    esac
} 

# If we have lsb_release, use it
if type lsb_release >/dev/null 2>/dev/null; then
    DISTRO="`lsb_release -is`" || DISTRO=""
    RELEASE="`lsb_release -rs`" || RELEASE=""
fi
    
if [ -n "$DISTRO" -a -n "$RELEASE" ]; then
    # Ubuntu?
    case "$DISTRO" in
        Ubuntu)
            lsb_ubuntu "$RELEASE"
            ;;

        Debian)
            lsb_debian "$RELEASE"
            ;;

        *)
            echo "supported_versions: WARNING! Unknown distribution: $DISTRO" >&2
            echo "Please submit this as a bug report to your distribution." >&2
            /bin/echo -e "$DEFAULT"
            ;;
    esac
else
    echo "supported_versions: WARNING: lsb_release not present, unknown distribution" >&2
    /bin/echo -e "$DEFAULT"
fi

exit 0