added patch for manual pages (#948933)

This commit is contained in:
Jan Staněk 2013-06-13 09:38:22 +02:00
parent 63807df6fc
commit cac63b3ab0
2 changed files with 56 additions and 1 deletions

49
postgresql-man.patch Normal file
View File

@ -0,0 +1,49 @@
# PostgreSQL manual page completion
### ecpg ###
diff -up postgresql-9.2.4/doc/src/sgml/man1/ecpg.1.broken postgresql-9.2.4/doc/src/sgml/man1/ecpg.1
--- postgresql-9.2.4/doc/src/sgml/man1/ecpg.1.broken 2013-06-05 10:54:39.610443837 +0200
+++ postgresql-9.2.4/doc/src/sgml/man1/ecpg.1 2013-06-05 10:59:24.115997253 +0200
@@ -81,6 +81,11 @@ INFORMIX_SE\&.
Define a C preprocessor symbol\&.
.RE
.PP
+\fB\-h \fR
+.RS 4
+Parse a header file, this option includes otion \fB\-c\fR\&.
+.RE
+.PP
\fB\-i\fR
.RS 4
Parse system include files as well\&.
@@ -129,6 +134,11 @@ Allow question mark as placeholder for c
.RE
.RE
.PP
+\fB\-\-regression\fR
+.RS 4
+Run in regression testing mode\&.
+.RE
+.PP
\fB\-t\fR
.RS 4
Turn on autocommit of transactions\&. In this mode, each SQL command is automatically committed unless it is inside an explicit transaction block\&. In the default mode, commands are committed only when
### initdb ###
diff -up postgresql-9.2.4/doc/src/sgml/man1/initdb.1.broken postgresql-9.2.4/doc/src/sgml/man1/initdb.1
--- postgresql-9.2.4/doc/src/sgml/man1/initdb.1.broken 2013-06-06 10:26:48.405835762 +0200
+++ postgresql-9.2.4/doc/src/sgml/man1/initdb.1 2013-06-06 10:29:46.084209958 +0200
@@ -227,6 +227,11 @@ determines that an error prevented it fr
.PP
Other options:
.PP
+\fB\-s\fR, \fB\-\-show\fR
+.RS 4
+Print the internal settings, then exit\&.
+.RE
+.PP
\fB\-V\fR, \fB\-\-version\fR
.RS 4
Print the

View File

@ -58,7 +58,7 @@ Summary: PostgreSQL client programs
Name: postgresql Name: postgresql
%global majorversion 9.2 %global majorversion 9.2
Version: 9.2.4 Version: 9.2.4
Release: 2%{?dist} Release: 3%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI # The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well. # recognizes it as an independent license, so we do as well.
@ -108,6 +108,9 @@ Patch6: postgresql-var-run-socket.patch
# ~> #970661 # ~> #970661
Patch7: postgresql-9.2.4-aarch64-atomic.patch Patch7: postgresql-9.2.4-aarch64-atomic.patch
# Comments for these patches are in the patch files.
Patch8: postgresql-man.patch
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
BuildRequires: perl(ExtUtils::Embed), perl-devel BuildRequires: perl(ExtUtils::Embed), perl-devel
BuildRequires: readline-devel zlib-devel BuildRequires: readline-devel zlib-devel
@ -1103,6 +1106,9 @@ fi
%endif %endif
%changelog %changelog
* Thu Jun 13 2013 Jan Stanek <jstanek@redhat.com> - 9.2.4-3
- added patch for manual pages (#948933)
* Tue Jun 11 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2 * Tue Jun 11 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
- postgresql-setup: don't create whole path to server's data to make sure that - postgresql-setup: don't create whole path to server's data to make sure that
the parent directory has correct permissions (#972425) the parent directory has correct permissions (#972425)