Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6d27cfdd
Commit
6d27cfdd
authored
Aug 29, 2002
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pg_resetxlog options parsing more standard and prepare messages for
translation.
parent
41a85627
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
247 additions
and
202 deletions
+247
-202
contrib/pg_upgrade/pg_upgrade
contrib/pg_upgrade/pg_upgrade
+2
-2
doc/src/sgml/ref/pg_resetxlog.sgml
doc/src/sgml/ref/pg_resetxlog.sgml
+2
-2
src/bin/pg_resetxlog/nls.mk
src/bin/pg_resetxlog/nls.mk
+5
-0
src/bin/pg_resetxlog/pg_resetxlog.c
src/bin/pg_resetxlog/pg_resetxlog.c
+238
-198
No files found.
contrib/pg_upgrade/pg_upgrade
View file @
6d27cfdd
...
...
@@ -3,7 +3,7 @@
# pg_upgrade: update a database without needing a full dump/reload cycle.
# CAUTION: Read the manual page before trying to use this!
# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.1
4 2002/07/03 14:38:19 momjian
Exp $
# $Header: /cvsroot/pgsql/contrib/pg_upgrade/Attic/pg_upgrade,v 1.1
5 2002/08/29 22:19:03 petere
Exp $
#
# To migrate this to newer versions of PostgreSQL:
# 1) Update the version numbers at the top of the file
...
...
@@ -461,7 +461,7 @@ fi
# Set checkpoint location of new database
pg_resetxlog
-l
"
$LOG_ID
"
"
$SEG_ID
"
"
$PGDATA
"
pg_resetxlog
-l
"
$LOG_ID
"
,
"
$SEG_ID
"
"
$PGDATA
"
if
[
"
$?
"
-ne
0
]
then
echo
"Unable to set new log file/segment id. Exiting."
1>&2
exit
1
...
...
doc/src/sgml/ref/pg_resetxlog.sgml
View file @
6d27cfdd
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_resetxlog.sgml,v 1.
4 2002/08/17 20:24:51 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_resetxlog.sgml,v 1.
5 2002/08/29 22:19:03 petere
Exp $
PostgreSQL documentation
-->
...
...
@@ -21,7 +21,7 @@ PostgreSQL documentation
<arg> -f </arg>
<arg> -n </arg>
<arg> -x <replaceable class="parameter">xid</replaceable> </arg>
<arg> -l <replaceable class="parameter">fileid</replaceable>
<replaceable class="parameter">seg</replaceable> </arg>
<arg> -l <replaceable class="parameter">fileid</replaceable>
,
<replaceable class="parameter">seg</replaceable> </arg>
<arg choice="plain"><replaceable>datadir</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
...
...
src/bin/pg_resetxlog/nls.mk
0 → 100644
View file @
6d27cfdd
# $Header: /cvsroot/pgsql/src/bin/pg_resetxlog/nls.mk,v 1.1 2002/08/29 22:19:03 petere Exp $
CATALOG_NAME
:=
pg_resetxlog
AVAIL_LANGUAGES
:=
GETTEXT_FILES
:=
pg_resetxlog.c
GETTEXT_TRIGGERS
:=
_
src/bin/pg_resetxlog/pg_resetxlog.c
View file @
6d27cfdd
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment