Skip to content

Commit

Permalink
Update SEPC file, COPYRIGHT and program version. (#156)
Browse files Browse the repository at this point in the history
* Update SEPC file, COPYRIGHT, program version etc.
  • Loading branch information
zwyan0 authored Jan 16, 2024
1 parent 8734300 commit 25bbd09
Show file tree
Hide file tree
Showing 68 changed files with 129 additions and 111 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
- "13"
- "12"
- "11"
- "10"
- "9.6"

env:
CACHE_VERSION: 20221222 # to identify cache version

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
- "13.13"
- "12.17"
- "11.22"
- "10.23"
- "9.6.24"
env:
CACHE_VERSION: 20221222 # to identify cache version

Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2008-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Copyright (c) 2008-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# pg_bulkload: Makefile
#
# Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
#
ifndef USE_PGXS
top_builddir = ../..
Expand Down
8 changes: 4 additions & 4 deletions SPECS/pg_bulkload-pg11.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPEC file for pg_bulkload on PostgreSQL 11
# Copyright (C) 2009-2023 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION

%define sname pg_bulkload
%define pgmajorversion 11
Expand All @@ -10,7 +10,7 @@

Summary: High speed data load utility for PostgreSQL
Name: %{sname}
Version: 3.1.20
Version: 3.1.21
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand Down Expand Up @@ -93,11 +93,11 @@ rm -rf %{buildroot}
rm -rf %{_libdir}/pgxs/src/backend/

%changelog
* Thu Jan 16 2024 - NTT OSS Center <[email protected]> 3.1.21-1
- Update to pg_bulkload 3.1.21
* Thu Jan 13 2023 - NTT OSS Center <[email protected]> 3.1.20-1
- Support PostgreSQL 15
- Update to pg_bulkload 3.1.20
* Mon Oct 11 2021 - Masahiro ikeda <[email protected]> 3.1.19-1
- Support PostgreSQL 14
- Update to pg_bulkload 3.1.19
* Tue Jun 01 2021 - Yanmei Sun <[email protected]> 3.1.18-1
- Update to pg_bulkload 3.1.18
Expand Down
8 changes: 4 additions & 4 deletions SPECS/pg_bulkload-pg12.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPEC file for pg_bulkload on PostgreSQL 12
# Copyright (C) 2009-2023 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION

%define sname pg_bulkload
%define pgmajorversion 12
Expand All @@ -10,7 +10,7 @@

Summary: High speed data load utility for PostgreSQL
Name: %{sname}
Version: 3.1.20
Version: 3.1.21
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand Down Expand Up @@ -93,11 +93,11 @@ rm -rf %{buildroot}
rm -rf %{_libdir}/pgxs/src/backend/

%changelog
* Thu Jan 16 2024 - NTT OSS Center <[email protected]> 3.1.21-1
- Update to pg_bulkload 3.1.21
* Thu Jan 13 2023 - NTT OSS Center <[email protected]> 3.1.20-1
- Support PostgreSQL 15
- Update to pg_bulkload 3.1.20
* Mon Oct 11 2021 - Masahiro ikeda <[email protected]> 3.1.19-1
- Support PostgreSQL 14
- Update to pg_bulkload 3.1.19
* Tue Jun 01 2021 - Yanmei Sun <[email protected]> 3.1.18-1
- Update to pg_bulkload 3.1.18
Expand Down
8 changes: 4 additions & 4 deletions SPECS/pg_bulkload-pg13.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPEC file for pg_bulkload on PostgreSQL 13
# Copyright (C) 2009-2023 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION

%define sname pg_bulkload
%define pgmajorversion 13
Expand All @@ -10,7 +10,7 @@

Summary: High speed data load utility for PostgreSQL
Name: %{sname}
Version: 3.1.20
Version: 3.1.21
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand Down Expand Up @@ -93,11 +93,11 @@ rm -rf %{buildroot}
rm -rf %{_libdir}/pgxs/src/backend/

%changelog
* Thu Jan 16 2024 - NTT OSS Center <[email protected]> 3.1.21-1
- Update to pg_bulkload 3.1.21
* Thu Jan 13 2023 - NTT OSS Center <[email protected]> 3.1.20-1
- Support PostgreSQL 15
- Update to pg_bulkload 3.1.20
* Mon Oct 11 2021 - Masahiro ikeda <[email protected]> 3.1.19-1
- Support PostgreSQL 14
- Update to pg_bulkload 3.1.19
* Tue Jun 01 2021 - Yanmei Sun <[email protected]> 3.1.18-1
- Update to pg_bulkload 3.1.18
Expand Down
7 changes: 4 additions & 3 deletions SPECS/pg_bulkload-pg14.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPEC file for pg_bulkload on PostgreSQL 14
# Copyright (C) 2009-2023 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (C) 2009-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION

%define sname pg_bulkload
%define pgmajorversion 14
Expand All @@ -10,7 +10,7 @@

Summary: High speed data load utility for PostgreSQL
Name: %{sname}
Version: 3.1.20
Version: 3.1.21
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand Down Expand Up @@ -93,8 +93,9 @@ rm -rf %{buildroot}
rm -rf %{_libdir}/pgxs/src/backend/

%changelog
* Thu Jan 16 2024 - NTT OSS Center <[email protected]> 3.1.21-1
- Update to pg_bulkload 3.1.21
* Thu Jan 13 2023 - NTT OSS Center <[email protected]> 3.1.20-1
- Support PostgreSQL 15
- Update to pg_bulkload 3.1.20
* Mon Oct 11 2021 - Masahiro ikeda <[email protected]> 3.1.19-1
- Support PostgreSQL 14
Expand Down
6 changes: 4 additions & 2 deletions SPECS/pg_bulkload-pg15.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPEC file for pg_bulkload on PostgreSQL 15
# Copyright (C) 2022-2023 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (C) 2022-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION

%define sname pg_bulkload
%define pgmajorversion 15
Expand All @@ -10,7 +10,7 @@

Summary: High speed data load utility for PostgreSQL
Name: %{sname}
Version: 3.1.20
Version: 3.1.21
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand Down Expand Up @@ -93,6 +93,8 @@ rm -rf %{buildroot}
rm -rf %{_libdir}/pgxs/src/backend/

%changelog
* Thu Jan 16 2024 - NTT OSS Center <[email protected]> 3.1.21-1
- Update to pg_bulkload 3.1.21
* Thu Jan 13 2023 - NTT OSS Center <[email protected]> 3.1.20-1
- Support PostgreSQL 15
- Update to pg_bulkload 3.1.20
52 changes: 26 additions & 26 deletions SPECS/pg_bulkload-pg10.spec → SPECS/pg_bulkload-pg16.spec
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# SPEC file for pg_bulkload on PostgreSQL 10
# Copyright (C) 2009-2023 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# SPEC file for pg_bulkload on PostgreSQL 16
# Copyright (C) 2023-2024 NIPPON TELEGRAPH AND TELEPHONE CORPORATION

%define sname pg_bulkload
%define pgmajorversion 10
%define pgmajorversion 16

%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.20
Version: 3.1.21
Release: 1%{?dist}
License: BSD
Group: Applications/Databases
Expand All @@ -18,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: postgresql10-devel, postgresql10
Requires: postgresql10
BuildRequires: postgresql16-devel, postgresql16
Requires: postgresql16


%description
Expand All @@ -28,6 +29,14 @@ 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: postgresql16-server, postgresql16-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/

Expand All @@ -46,10 +55,12 @@ 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
Expand All @@ -71,28 +82,17 @@ install -m 644 docs/sample_csv.ctl %{buildroot}%{pg_contribdir}/sam
%{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 13 2023 - NTT OSS Center <[email protected]> 3.1.20-1
- Support PostgreSQL 15
- Update to pg_bulkload 3.1.20
* Mon Oct 11 2021 - Masahiro ikeda <[email protected]> 3.1.19-1
- Support PostgreSQL 14
- Update to pg_bulkload 3.1.19
* Tue Jun 01 2021 - Yanmei Sun <[email protected]> 3.1.18-1
- Update to pg_bulkload 3.1.18
* Fri Feb 05 2021 - Moon Insung <[email protected]> 3.1.17-1
- Update to pg_bulkload 3.1.17
* Wed Jan 22 2020 - Moon Insung <[email protected]> 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 <[email protected]> 3.1.15-1
- Fixed pg_bulkload to mitigate attacks described in CVE-2018-1058
- Update to pg_bulkload 3.1.15
* Thu Nov 02 2017 - Moon Insung <[email protected]> 3.1.14-1
- Support PostgreSQL 10
- Update to pg_bulkload 3.1.14
* Thu Jan 16 2024 - NTT OSS Center <[email protected]> 3.1.21-1
- Support PostgreSQL 16
- Update to pg_bulkload 3.1.21
2 changes: 1 addition & 1 deletion bin/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# pg_bulkload: bin/Makefile
#
# Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (c) 2007-2024, 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)
Expand Down
2 changes: 1 addition & 1 deletion bin/pg_bulkload.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* pg_bulkload: bin/pg_bulkload.c
*
* Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion bin/pgut/pgut-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* pgut-fe.c
*
* Copyright (c) 2009-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
*-------------------------------------------------------------------------
*/
Expand Down
2 changes: 1 addition & 1 deletion bin/pgut/pgut-fe.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* pgut-fe.h
*
* Copyright (c) 2009-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
*-------------------------------------------------------------------------
*/
Expand Down
4 changes: 2 additions & 2 deletions bin/pgut/pgut-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
*
* pgut-list.c : copied from postgres/nodes/list.c
*
* Copyright (c) 2009-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
* Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*-------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion bin/pgut/pgut-list.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* pgut-list.h
*
* Copyright (c) 2009-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
*-------------------------------------------------------------------------
*/
Expand Down
2 changes: 1 addition & 1 deletion bin/pgut/pgut.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* pgut.c
*
* Copyright (c) 2009-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
*-------------------------------------------------------------------------
*/
Expand Down
2 changes: 1 addition & 1 deletion bin/pgut/pgut.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* pgut.h
*
* Copyright (c) 2009-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2009-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
*-------------------------------------------------------------------------
*/
Expand Down
2 changes: 1 addition & 1 deletion bin/postgresql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# this script doesn't execute pg_bulkload's recovery and call pg_ctl
# directory.
#
# Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
# Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
#
#------------------------------------------------------------------------------
# Acquire a command name
Expand Down
2 changes: 1 addition & 1 deletion bin/recovery.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* pg_bulkload: bin/recovery.c
*
* Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
* Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h2 style="clear:both">Conditions</h2>
</table>

<hr />
<p class="footer">Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
<p class="footer">Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
Expand Down
2 changes: 1 addition & 1 deletion docs/index_ja.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ <h2 style="clear:both">測定条件</h2>
</table>

<hr />
<p class="footer">Copyright (c) 2007-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>
<p class="footer">Copyright (c) 2007-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION</p>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
Expand Down
Loading

0 comments on commit 25bbd09

Please sign in to comment.