Compare commits
23 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e62efc6a60 | ||
|
|
270924229d | ||
|
|
364d97d52d | ||
|
|
a6e5bc5ffa | ||
|
|
81b25ff6b0 | ||
|
|
40135b639d | ||
|
|
fb063ec160 | ||
|
|
690ddd254b | ||
|
|
8335449565 | ||
|
|
c872357826 | ||
|
|
bf7da96784 | ||
|
|
b9aef319b2 | ||
|
|
4534dc96ed | ||
|
|
3eeaedfbda | ||
|
|
c12cf85310 | ||
|
|
bdfb905510 | ||
|
|
ccc29662d7 | ||
|
|
4de04d0b17 | ||
|
|
2ee49ccb1a | ||
|
|
fe2a98b9f7 | ||
|
|
1686af3784 | ||
|
|
693aab56ea | ||
|
|
a040c0c0cf |
4 changed files with 85 additions and 93 deletions
2
.gitignore
vendored
Normal file → Executable file
2
.gitignore
vendored
Normal file → Executable file
|
|
@ -1 +1,3 @@
|
|||
/pg_filedump-*.tar.gz
|
||||
/REL_14_0.tar.gz
|
||||
/REL_16_0.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,64 +0,0 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
|
||||
.TH PG_FILEDUMP "1" "April 2014" "pg_filedump 9.3.0" "User Commands"
|
||||
.SH NAME
|
||||
pg_filedump \- PostgreSQL heap/index/control file dumper
|
||||
.SH SYNOPSIS
|
||||
.B pg_filedump
|
||||
[\fI-abcdfhixy\fR] [\fI-R startblock \fR[\fIendblock\fR]] [\fI-S blocksize\fR] \fIfile\fR
|
||||
.SH DESCRIPTION
|
||||
Display formatted contents of a PostgreSQL heap/index/control file.
|
||||
.SS "The following options are valid for heap and index files:"
|
||||
.TP
|
||||
\fB\-a\fR
|
||||
Display absolute addresses when formatting (Block header
|
||||
information is always block relative)
|
||||
.TP
|
||||
\fB\-b\fR
|
||||
Display binary block images within a range (Option will turn
|
||||
off all formatting options)
|
||||
.TP
|
||||
\fB\-d\fR
|
||||
Display formatted block content dump (Option will turn off
|
||||
all other formatting options)
|
||||
.TP
|
||||
\fB\-f\fR
|
||||
Display formatted block content dump along with interpretation
|
||||
.TP
|
||||
\fB\-h\fR
|
||||
Display this information
|
||||
.TP
|
||||
\fB\-i\fR
|
||||
Display interpreted item details
|
||||
.TP
|
||||
\fB\-R\fR
|
||||
Display specific block ranges within the file (Blocks are
|
||||
indexed from 0)
|
||||
.IP
|
||||
[startblock]: block to start at
|
||||
[endblock]: block to end at
|
||||
.IP
|
||||
A startblock without an endblock will format the single block
|
||||
.TP
|
||||
\fB\-S\fR
|
||||
Force block size to [blocksize]
|
||||
.TP
|
||||
\fB\-x\fR
|
||||
Force interpreted formatting of block items as index items
|
||||
.TP
|
||||
\fB\-y\fR
|
||||
Force interpreted formatting of block items as heap items
|
||||
.SS "The following options are valid for control files:"
|
||||
.TP
|
||||
\fB\-c\fR
|
||||
Interpret the file listed as a control file
|
||||
.TP
|
||||
\fB\-f\fR
|
||||
Display formatted content dump along with interpretation
|
||||
.TP
|
||||
\fB\-S\fR
|
||||
Force block size to [blocksize]
|
||||
.SH OTHERS
|
||||
This manual page was generated from pg_filedump help output (\fB-h\fR) by
|
||||
help2man(1).
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <pgsql\-bugs@postgresql.org>
|
||||
110
rhdb-utils.spec
110
rhdb-utils.spec
|
|
@ -3,60 +3,114 @@
|
|||
# <overholt@redhat.com>, Tom Lane <tgl@redhat.com>
|
||||
# Copyright (C) 2002-2012 Red Hat, Inc.
|
||||
|
||||
%global tarballname REL_16_0
|
||||
|
||||
Summary: Miscellaneous utilities for PostgreSQL - Red Hat Edition
|
||||
Name: rhdb-utils
|
||||
Version: 12.0
|
||||
Release: 2%{?dist}
|
||||
# URL: http://pgfoundry.org/projects/pgfiledump/
|
||||
URL: https://wiki.postgresql.org/wiki/Pg_filedump
|
||||
License: GPLv2+
|
||||
Version: 16.0
|
||||
Release: 7%{?dist}
|
||||
URL: https://github.com/df7cb/pg_filedump
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: clang
|
||||
BuildRequires: postgresql-server-devel, postgresql-static, libpq-devel
|
||||
BuildRequires: postgresql-server-devel, postgresql-static
|
||||
BuildRequires: lz4-devel
|
||||
|
||||
# This is kind of work-around; even though we don't install PostgreSQL server
|
||||
# modules in this package, we still want to depend on the major version of
|
||||
# PostgreSQL server (or rather we want to be notified that new rebuild is needed
|
||||
# for new major version of PostgreSQL)
|
||||
%{?postgresql_module_requires}
|
||||
Source0: https://github.com/df7cb/pg_filedump/archive/refs/tags/%{tarballname}.tar.gz
|
||||
|
||||
Provides: pg_filedump = %version-%release
|
||||
Requires(pre): postgresql-server
|
||||
|
||||
# Source0: http://pgfoundry.org/frs/download.php/3391/pg_filedump-%%{version}.tar.gz
|
||||
%global tarballname pg_filedump-REL_12_0-a22c98e
|
||||
|
||||
# Download by wget --content-disposition \
|
||||
# 'https://git.postgresql.org/gitweb/?p=pg_filedump.git;a=snapshot;h=REL_12_0;sf=tgz'
|
||||
Source0: %tarballname.tar.gz
|
||||
Source1: pg_filedump.1
|
||||
Provides: pg_filedump = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This package contains miscellaneous, non-graphical tools originally
|
||||
developed for PostgreSQL - Red Hat Edition.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %tarballname -p1
|
||||
|
||||
%autosetup -n pg_filedump-%{tarballname} -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} PG_CONFIG=%_bindir/pg_server_config
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||
install -p -m 755 pg_filedump ${RPM_BUILD_ROOT}%{_bindir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||
install -p -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/pg_filedump
|
||||
%doc README.pg_filedump
|
||||
%{_mandir}/man1/pg_filedump.1*
|
||||
%doc README.pg_filedump.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 16.0-5
|
||||
- convert license to SPDX
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Nov 30 2023 Filip Janus <fjanus@redhat.com> - 16.0-1
|
||||
- Update to 16.0
|
||||
- Fix requires section fro demodularized version of postgresql
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Nov 16 2022 Ondřej Sloup <osloup@redhat.com> - 14.1-2
|
||||
- Rebuild for new PostgreSQL 15
|
||||
|
||||
* Tue Oct 25 2022 Ondrej Sloup <osloup@redhat.com> - 14.1-1
|
||||
- Rebase to the latest upstream version
|
||||
|
||||
* Thu Aug 04 2022 Ondrej Sloup <osloup@redhat.com> - 14.0-7
|
||||
- Fix lz4-devel build requirement
|
||||
- Change source links
|
||||
- Remove not updated manual page
|
||||
- Change globals to make future updates easier
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jan 06 2022 Filip Januš <fjanus@redhat.com> - 14.0-2
|
||||
- Update to postgresql 14
|
||||
|
||||
* Wed Jan 05 2022 Filip Januš <fjanus@redhat.com> - 14.0-1
|
||||
- Update to 14.0
|
||||
|
||||
* Mon Aug 09 2021 Honza Horak <hhorak@redhat.com> - 13.1-3
|
||||
- Leave the libpq package to be pulled in by postgresql-server-devel
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Patrik Novotný <panovotn@redhat.com> - 13.1-1
|
||||
- Rebase for postgresql 13.1
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat Mar 14 2020 Honza Horak <hhorak@redhat.com> - 12.0-2
|
||||
- Rebuild with PostgreSQL v12 with JIT
|
||||
|
||||
|
|
|
|||
2
sources
Normal file → Executable file
2
sources
Normal file → Executable file
|
|
@ -1 +1 @@
|
|||
SHA512 (pg_filedump-REL_12_0-a22c98e.tar.gz) = 64377bebcb2d893a8ca42cfb7707c7e099b2a79c4aef9155bc9c0e8c77beadf8f4266d78d293e0784a214e6a00b44f157f7ed931691b0f851a520399f2d71914
|
||||
SHA512 (REL_16_0.tar.gz) = ed37230ca0cc1a4b3cc85df8437e56166637ac364dae5a65d0372bc70b7f8d7b67cef18587dbd4ffb85c33a12dee7ba0901ee7510224a9cb3b318163fa0e9b36
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue