diff --git a/COPYRIGHT b/COPYRIGHT index b2114ab..f7a7d43 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,4 +1,4 @@ -Copyright (c) 2008-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION +Copyright (c) 2008-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Makefile b/Makefile index 38245d4..7fc0720 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # # pg_bulkload: Makefile # -# Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (c) 2007-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION # ifndef USE_PGXS top_builddir = ../.. diff --git a/SPECS/pg_bulkload-pg11.spec b/SPECS/pg_bulkload-pg11.spec deleted file mode 100644 index 37c7863..0000000 --- a/SPECS/pg_bulkload-pg11.spec +++ /dev/null @@ -1,113 +0,0 @@ -# SPEC file for pg_bulkload on PostgreSQL 11 -# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION - -%define sname pg_bulkload -%define pgmajorversion 11 - -%define _prefix /usr/pgsql-%{pgmajorversion} -%define _libdir %{_prefix}/lib -%define _bcdir %{_libdir}/bitcode/pg_bulkload - -Summary: High speed data load utility for PostgreSQL -Name: %{sname} -Version: 3.1.21 -Release: 1%{?dist} -License: BSD -Group: Applications/Databases -# You can get the tarball by following: https://github.com/ossc-db/pg_bulkload/archive/%{version}.tar.gz -Source0: %{sname}-%{version}.tar.gz -URL: http://ossc-db.github.io/pg_bulkload/index.html -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) - -BuildRequires: postgresql11-devel, postgresql11 -Requires: postgresql11 - - -%description -pg_bulkload provides high-speed data loading capability to PostgreSQL users. - -When we load huge amount of data to a database, it is common situation that data set to be loaded is valid and consistent. For example, dedicated tools are used to prepare such data, providing data validation in advance. In such cases, we'd like to bypass any overheads within database system to load data as quickly as possible. pg_bulkload is developed to help such situations. Therefore, it is not pg_bulkload's goal to provide detailed data validation. Rather, pg_bulkload asumes that loaded data set is validated by separate means. If you're not in such situation, you should use COPY command in PostgreSQL. - - -%package llvmjit -Requires: postgresql11-server, postgresql11-llvmjit -Requires: pg_bulkload = %{version} -Summary: Just-in-time compilation support for pg_bulkload - -%description llvmjit -Just-in-time compilation support for pg_bulkdload - -%prep -rm -rf %{_libdir}/pgxs/src/backend/ - -%setup -n %{sname}-%{version} - -%build -USE_PGXS=1 make %{?_smp_mflags} MAJORVERSION=%{pgmajorversion} - -%install -%define pg_contribdir %{_datadir}/contrib -%define pg_extensiondir %{_datadir}/extension - -rm -rf %{buildroot} - -install -d %{buildroot}%{_bindir} -install -d %{buildroot}%{_libdir} -install -d %{buildroot}%{pg_contribdir} -install -d %{buildroot}%{pg_extensiondir} -install -d %{buildroot}%{_bcdir} - -install -m 755 bin/pg_bulkload %{buildroot}%{_bindir}/pg_bulkload -install -m 755 bin/postgresql %{buildroot}%{_bindir}/postgresql -install -m 755 lib/pg_bulkload.so %{buildroot}%{_libdir}/pg_bulkload.so -install -m 644 lib/pg_bulkload.bc %{buildroot}%{_bcdir}/pg_bulkload.bc - -install -m 644 lib/pg_bulkload.control %{buildroot}%{pg_extensiondir}/pg_bulkload.control -install -m 644 lib/pg_bulkload--%{version}.sql %{buildroot}%{pg_extensiondir}/pg_bulkload--%{version}.sql - -# sample_*.ctl files are needed for rpm users. -# %{sname}-%{version} is the same path with "%setup -n"'s argument. -install -m 644 docs/sample_bin.ctl %{buildroot}%{pg_contribdir}/sample_bin.ctl -install -m 644 docs/sample_csv.ctl %{buildroot}%{pg_contribdir}/sample_csv.ctl - -%files -%defattr(755,root,root,755) -%{_bindir}/pg_bulkload -%{_bindir}/postgresql -%{_libdir}/pg_bulkload.so -%defattr(644,root,root,755) -#%doc README.pg_bulkload -%{pg_contribdir}/sample_bin.ctl -%{pg_contribdir}/sample_csv.ctl -%{pg_extensiondir}/pg_bulkload.control -%{pg_extensiondir}/pg_bulkload--%{version}.sql - -%files llvmjit -%defattr(0755,root,root) -%{_bcdir} -%defattr(0644,root,root) -%{_bcdir}/pg_bulkload.bc - -%clean -rm -rf %{buildroot} -rm -rf %{_libdir}/pgxs/src/backend/ - -%changelog -* Thu Jan 16 2024 - NTT OSS Center 3.1.21-1 -- Update to pg_bulkload 3.1.21 -* Thu Jan 13 2023 - NTT OSS Center 3.1.20-1 -- Update to pg_bulkload 3.1.20 -* Mon Oct 11 2021 - Masahiro ikeda 3.1.19-1 -- Update to pg_bulkload 3.1.19 -* Tue Jun 01 2021 - Yanmei Sun 3.1.18-1 -- Update to pg_bulkload 3.1.18 -* Fri Feb 05 2021 - Moon Insung 3.1.17-1 -- Update to pg_bulkload 3.1.17 -* Wed Jan 22 2020 - Moon Insung 3.1.16-1 -- Update to pg_bulkload 3.1.16 -- Warn users of some risks of using parallel/multi-process mode -- Document restriction that pg_bulkload supports only tables of "heap" access method -* Mon Jan 21 2019 - Moon Insung 3.1.15-1 -- Fixed pg_bulkload to mitigate attacks described in CVE-2018-1058 -- Added llvm.rpm for pg_bulkload to support llvmjit of PostgreSQL -- Update to pg_bulkload 3.1.15 diff --git a/SPECS/pg_bulkload-pg13.spec b/SPECS/pg_bulkload-pg13.spec index ddb7811..8eaaf1d 100755 --- a/SPECS/pg_bulkload-pg13.spec +++ b/SPECS/pg_bulkload-pg13.spec @@ -1,5 +1,5 @@ # SPEC file for pg_bulkload on PostgreSQL 13 -# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (C) 2009-2025 NIPPON TELEGRAPH AND TELEPHONE CORPORATION %define sname pg_bulkload %define pgmajorversion 13 @@ -10,7 +10,7 @@ Summary: High speed data load utility for PostgreSQL Name: %{sname} -Version: 3.1.21 +Version: 3.1.22 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -93,6 +93,9 @@ rm -rf %{buildroot} rm -rf %{_libdir}/pgxs/src/backend/ %changelog +* Thu Jan 23 2025 - NTT OSS Center 3.1.22-1 +- Support PostgreSQL 17 +- Update to pg_bulkload 3.1.22 * Thu Jan 16 2024 - NTT OSS Center 3.1.21-1 - Update to pg_bulkload 3.1.21 * Thu Jan 13 2023 - NTT OSS Center 3.1.20-1 diff --git a/SPECS/pg_bulkload-pg14.spec b/SPECS/pg_bulkload-pg14.spec index 5cb23fb..8d0a387 100755 --- a/SPECS/pg_bulkload-pg14.spec +++ b/SPECS/pg_bulkload-pg14.spec @@ -1,5 +1,5 @@ # SPEC file for pg_bulkload on PostgreSQL 14 -# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (C) 2009-2025 NIPPON TELEGRAPH AND TELEPHONE CORPORATION %define sname pg_bulkload %define pgmajorversion 14 @@ -10,7 +10,7 @@ Summary: High speed data load utility for PostgreSQL Name: %{sname} -Version: 3.1.21 +Version: 3.1.22 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -93,6 +93,9 @@ rm -rf %{buildroot} rm -rf %{_libdir}/pgxs/src/backend/ %changelog +* Thu Jan 23 2025 - NTT OSS Center 3.1.22-1 +- Support PostgreSQL 17 +- Update to pg_bulkload 3.1.22 * Thu Jan 16 2024 - NTT OSS Center 3.1.21-1 - Update to pg_bulkload 3.1.21 * Thu Jan 13 2023 - NTT OSS Center 3.1.20-1 diff --git a/SPECS/pg_bulkload-pg15.spec b/SPECS/pg_bulkload-pg15.spec index 3240690..3da36ae 100755 --- a/SPECS/pg_bulkload-pg15.spec +++ b/SPECS/pg_bulkload-pg15.spec @@ -1,5 +1,5 @@ # SPEC file for pg_bulkload on PostgreSQL 15 -# Copyright (C) 2022-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (C) 2022-2025 NIPPON TELEGRAPH AND TELEPHONE CORPORATION %define sname pg_bulkload %define pgmajorversion 15 @@ -10,7 +10,7 @@ Summary: High speed data load utility for PostgreSQL Name: %{sname} -Version: 3.1.21 +Version: 3.1.22 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -93,6 +93,9 @@ rm -rf %{buildroot} rm -rf %{_libdir}/pgxs/src/backend/ %changelog +* Thu Jan 23 2025 - NTT OSS Center 3.1.22-1 +- Support PostgreSQL 17 +- Update to pg_bulkload 3.1.22 * Thu Jan 16 2024 - NTT OSS Center 3.1.21-1 - Update to pg_bulkload 3.1.21 * Thu Jan 13 2023 - NTT OSS Center 3.1.20-1 diff --git a/SPECS/pg_bulkload-pg16.spec b/SPECS/pg_bulkload-pg16.spec index a8ba168..d573e9d 100755 --- a/SPECS/pg_bulkload-pg16.spec +++ b/SPECS/pg_bulkload-pg16.spec @@ -1,5 +1,5 @@ # SPEC file for pg_bulkload on PostgreSQL 16 -# Copyright (C) 2023-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (C) 2023-2025 NIPPON TELEGRAPH AND TELEPHONE CORPORATION %define sname pg_bulkload %define pgmajorversion 16 @@ -10,7 +10,7 @@ Summary: High speed data load utility for PostgreSQL Name: %{sname} -Version: 3.1.21 +Version: 3.1.22 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -93,6 +93,9 @@ rm -rf %{buildroot} rm -rf %{_libdir}/pgxs/src/backend/ %changelog +* Thu Jan 23 2025 - NTT OSS Center 3.1.22-1 +- Support PostgreSQL 17 +- Update to pg_bulkload 3.1.22 * Thu Jan 16 2024 - NTT OSS Center 3.1.21-1 - Support PostgreSQL 16 - Update to pg_bulkload 3.1.21 diff --git a/SPECS/pg_bulkload-pg12.spec b/SPECS/pg_bulkload-pg17.spec old mode 100644 new mode 100755 similarity index 75% rename from SPECS/pg_bulkload-pg12.spec rename to SPECS/pg_bulkload-pg17.spec index 757d961..eb316da --- a/SPECS/pg_bulkload-pg12.spec +++ b/SPECS/pg_bulkload-pg17.spec @@ -1,8 +1,8 @@ -# SPEC file for pg_bulkload on PostgreSQL 12 -# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# SPEC file for pg_bulkload on PostgreSQL 17 +# Copyright (C) 2024-2025 NIPPON TELEGRAPH AND TELEPHONE CORPORATION %define sname pg_bulkload -%define pgmajorversion 12 +%define pgmajorversion 17 %define _prefix /usr/pgsql-%{pgmajorversion} %define _libdir %{_prefix}/lib @@ -10,7 +10,7 @@ Summary: High speed data load utility for PostgreSQL Name: %{sname} -Version: 3.1.21 +Version: 3.1.22 Release: 1%{?dist} License: BSD Group: Applications/Databases @@ -19,8 +19,8 @@ Source0: %{sname}-%{version}.tar.gz URL: http://ossc-db.github.io/pg_bulkload/index.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) -BuildRequires: postgresql12-devel, postgresql12 -Requires: postgresql12 +BuildRequires: postgresql17-devel, postgresql17 +Requires: postgresql17 %description @@ -30,7 +30,7 @@ When we load huge amount of data to a database, it is common situation that data %package llvmjit -Requires: postgresql12-server, postgresql12-llvmjit +Requires: postgresql17-server, postgresql17-llvmjit Requires: pg_bulkload = %{version} Summary: Just-in-time compilation support for pg_bulkload @@ -93,17 +93,6 @@ rm -rf %{buildroot} rm -rf %{_libdir}/pgxs/src/backend/ %changelog -* Thu Jan 16 2024 - NTT OSS Center 3.1.21-1 -- Update to pg_bulkload 3.1.21 -* Thu Jan 13 2023 - NTT OSS Center 3.1.20-1 -- Update to pg_bulkload 3.1.20 -* Mon Oct 11 2021 - Masahiro ikeda 3.1.19-1 -- Update to pg_bulkload 3.1.19 -* Tue Jun 01 2021 - Yanmei Sun 3.1.18-1 -- Update to pg_bulkload 3.1.18 -* Fri Feb 05 2021 - Moon Insung 3.1.17-1 -- Update to pg_bulkload 3.1.17 -* Wed Jan 22 2020 - Moon Insung 3.1.16-1 -- Update to pg_bulkload 3.1.16 -- Warn users of some risks of using parallel/multi-process mode -- Document restriction that pg_bulkload supports only tables of "heap" access method +* Thu Jan 23 2025 - NTT OSS Center 3.1.22-1 +- Support PostgreSQL 17 +- Update to pg_bulkload 3.1.22 diff --git a/bin/Makefile b/bin/Makefile index d9cdeac..ddb49d7 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,7 +1,7 @@ # # pg_bulkload: bin/Makefile # -# Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (c) 2007-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION # SRCS = pg_bulkload.c recovery.c pgut/pgut.c pgut/pgut-fe.c pgut/pgut-list.c OBJS = $(SRCS:.c=.o) diff --git a/bin/pg_bulkload.c b/bin/pg_bulkload.c index a9756b4..c474f5d 100644 --- a/bin/pg_bulkload.c +++ b/bin/pg_bulkload.c @@ -1,7 +1,7 @@ /* * pg_bulkload: bin/pg_bulkload.c * - * Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2007-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION */ /** diff --git a/bin/pgut/pgut-fe.c b/bin/pgut/pgut-fe.c index 2b73dfa..f5cc866 100644 --- a/bin/pgut/pgut-fe.c +++ b/bin/pgut/pgut-fe.c @@ -2,7 +2,7 @@ * * pgut-fe.c * - * Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2009-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ diff --git a/bin/pgut/pgut-fe.h b/bin/pgut/pgut-fe.h index ec0d3a3..963d8e5 100644 --- a/bin/pgut/pgut-fe.h +++ b/bin/pgut/pgut-fe.h @@ -2,7 +2,7 @@ * * pgut-fe.h * - * Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2009-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ diff --git a/bin/pgut/pgut-list.c b/bin/pgut/pgut-list.c index 7722326..240eb33 100644 --- a/bin/pgut/pgut-list.c +++ b/bin/pgut/pgut-list.c @@ -2,8 +2,8 @@ * * pgut-list.c : copied from postgres/nodes/list.c * - * Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION - * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group + * Copyright (c) 2009-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * *------------------------------------------------------------------------- diff --git a/bin/pgut/pgut-list.h b/bin/pgut/pgut-list.h index 3cb606f..e47776b 100644 --- a/bin/pgut/pgut-list.h +++ b/bin/pgut/pgut-list.h @@ -2,7 +2,7 @@ * * pgut-list.h * - * Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2009-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ diff --git a/bin/pgut/pgut.c b/bin/pgut/pgut.c index c0b569b..af42724 100644 --- a/bin/pgut/pgut.c +++ b/bin/pgut/pgut.c @@ -2,7 +2,7 @@ * * pgut.c * - * Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2009-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ diff --git a/bin/pgut/pgut.h b/bin/pgut/pgut.h index c69fd17..76019a0 100644 --- a/bin/pgut/pgut.h +++ b/bin/pgut/pgut.h @@ -2,7 +2,7 @@ * * pgut.h * - * Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2009-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * *------------------------------------------------------------------------- */ diff --git a/bin/postgresql b/bin/postgresql index 19cb205..63611e6 100644 --- a/bin/postgresql +++ b/bin/postgresql @@ -12,7 +12,7 @@ # this script doesn't execute pg_bulkload's recovery and call pg_ctl # directory. # -# Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION +# Copyright (c) 2007-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION # #------------------------------------------------------------------------------ # Acquire a command name diff --git a/bin/recovery.c b/bin/recovery.c index e4aa45a..5309129 100644 --- a/bin/recovery.c +++ b/bin/recovery.c @@ -1,7 +1,7 @@ /* * pg_bulkload: bin/recovery.c * - * Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION + * Copyright (c) 2007-2025, NIPPON TELEGRAPH AND TELEPHONE CORPORATION */ /** diff --git a/docs/index.html b/docs/index.html index ca47dad..fbd9ef7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -246,7 +246,7 @@

Conditions


- +