Files
buildroot/package/postgresql/Config.in
Bernd Kuhls 9e7172ceac package/postgresql: bump version to 18.1
Release notes:
https://www.postgresql.org/docs/release/18.0/
https://www.postgresql.org/docs/release/18.1/

Please note that upgrading a PostgreSQL server to a newer major version
requires a manual upgrade not provided by buildroot:
https://www.postgresql.org/docs/18/upgrading.html

Removed configure options for spinlocks:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=e25626677f8076eb3ce94586136c5464ee154381

Upstream removed support for toolchains not providing atomics support:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=81385261362962deb9861b39b509aeffe213721d

Added dependency to !BR2_sparc to disable build with defconfig
bootlin-sparc-uclibc to fix a build error:

../src/include/port/atomics.h:99:2: error:
 #error "could not find an implementation of pg_atomic_uint32"

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-29 18:31:17 +01:00

48 lines
1.5 KiB
Plaintext

config BR2_PACKAGE_POSTGRESQL
bool "postgresql"
depends on BR2_USE_MMU # fork()
depends on !BR2_sparc # atomic.h
depends on BR2_USE_WCHAR
depends on BR2_ENABLE_LOCALE # locale_t
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
# fails to build in a pure static linking scenario, and
# postgresql is unlikely to be used in a pure statically
# linked environment.
depends on !BR2_STATIC_LIBS
depends on !BR2_OPTIMIZE_FAST
select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
help
PostgreSQL is a powerful, open source object-relational
database system.
Enable the readline package to gain readline support in
psql (the command line interpreter), which offers
command history and edit functions.
Enable the zlib package to gain builtin compression for
archives with pg_dump and pg_restore.
http://www.postgresql.org
if BR2_PACKAGE_POSTGRESQL
config BR2_PACKAGE_POSTGRESQL_FULL
bool "postgresql-full"
help
Build PostgreSQL, contrib, and documentation.
endif
comment "postgresql needs a toolchain w/ dynamic library, wchar, locale"
depends on BR2_USE_MMU
depends on !BR2_sparc
depends on !BR2_USE_WCHAR
depends on !BR2_ENABLE_LOCALE
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_STATIC_LIBS
comment "postgresql can't be built with Optimize for fast"
depends on BR2_OPTIMIZE_FAST