For openSUSE Leap 42.3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:vjt:ifad/openSUSE_Leap_42.3/home:vjt:ifad.repo
zypper refresh
zypper install postgresql-server
For openSUSE Leap 42.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:vjt:ifad/openSUSE_Leap_42.2/home:vjt:ifad.repo
zypper refresh
zypper install postgresql-server
For openSUSE Leap 15.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:vjt:ifad/openSUSE_Leap_15.2/home:vjt:ifad.repo
zypper refresh
zypper install postgresql-server
For openSUSE Leap 15.1 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:vjt:ifad/openSUSE_Leap_15.1/home:vjt:ifad.repo
zypper refresh
zypper install postgresql-server
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:vjt:ifad/15.6/home:vjt:ifad.repo
zypper refresh
zypper install postgresql-server
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:vjt:ifad/15.5/home:vjt:ifad.repo
zypper refresh
zypper install postgresql-server