Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
a5269221
Commit
a5269221
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
README not needed anymore.
parent
bf566b20
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/bin/initdb/Makefile
+2
-2
2 additions, 2 deletions
src/bin/initdb/Makefile
src/bin/initdb/initdb.sh
+4
-5
4 additions, 5 deletions
src/bin/initdb/initdb.sh
src/bin/pg_dump/README
+0
-73
0 additions, 73 deletions
src/bin/pg_dump/README
with
6 additions
and
80 deletions
src/bin/initdb/Makefile
+
2
−
2
View file @
a5269221
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.1
6
2000/0
1
/1
5 18:30:31 petere
Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.1
7
2000/0
2
/1
6 21:25:59 momjian
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -20,7 +20,7 @@ initdb: initdb.sh
...
@@ -20,7 +20,7 @@ initdb: initdb.sh
sed
-e
's/__MULTIBYTE__/
$(
MULTIBYTE
)
/g'
< initdb.sh
>
initdb
sed
-e
's/__MULTIBYTE__/
$(
MULTIBYTE
)
/g'
< initdb.sh
>
initdb
install
:
initdb
install
:
initdb
$(
INSTALL
)
$(
INSTL_EXE_OPTS
)
$+
$(
BINDIR
)
$(
INSTALL
)
$(
INSTL_EXE_OPTS
)
$+
$(
BINDIR
)
/
$+
clean
:
clean
:
rm
-f
initdb
rm
-f
initdb
...
...
This diff is collapsed.
Click to expand it.
src/bin/initdb/initdb.sh
+
4
−
5
View file @
a5269221
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.8
5
2000/02/
09 00:21:49 petere
Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.8
6
2000/02/
16 21:25:59 momjian
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -605,10 +605,9 @@ echo "VACUUM ANALYZE" \
...
@@ -605,10 +605,9 @@ echo "VACUUM ANALYZE" \
|
"
$PGPATH
"
/postgres
$PGSQL_OPT
template1
>
/dev/null
||
exit_nicely
|
"
$PGPATH
"
/postgres
$PGSQL_OPT
template1
>
/dev/null
||
exit_nicely
echo
echo
echo
"
$CMDNAME
completed successfully. You can now start the database server."
echo
"Success. You can now start the database server using"
echo
"
$PGPATH
/postmaster -D
$PGDATA
"
echo
"
$PGPATH
/postmaster -D
$PGDATA
or"
echo
"or"
echo
"
$PGPATH
/pg_ctl -D
$PGDATA
start"
echo
"
$PGPATH
/pg_ctl -D
$PGDATA
start"
echo
echo
exit
0
exit
0
This diff is collapsed.
Click to expand it.
src/bin/pg_dump/README
deleted
100644 → 0
+
0
−
73
View file @
bf566b20
pg_dump is a utility for dumping out a postgres database into a script
file containing query commands. The script files are in a ASCII
format and can be used to reconstruct the database, even on other
machines and other architectures. pg_dump will produce the queries
necessary to re-generate all user-defined types, functions, tables,
indices, aggregates, and operators. In addition, all the data is
copied out in ASCII format so that it can be readily copied in again.
To build:
% gmake clean install
This version of the program will read in your postgreSQL database and
output the schema and the data tuples in SQL. The dumps are useful
for moving from one postgreSQL installation to another.
How to use pg_dump:
-------------------
The command line options are fairly self explanatory. Use -help to
see the command line options. recommend using -v to get
more verbose descriptions of what pg_dump is doing.
After running pg_dump, one should examine the output script file for any
warnings, especially in light of the limitations listed below.
A typical use of pg_dump:
% pg_dump -v -f oldDB.dump oldDB
% createdb newDB
% psql newDB < oldDB.dump
Caveats and limitations:
------------------------
pg_dump has a few limitations. The limitations mostly stem from
difficulty in extracting certain meta-information from the system
catalogs.
rules and views:
pg_dump does not understand user-defined rules and views and
will fail to dump them properly. (This is due to the fact that
rules are stored as plans in the catalogs and not textually)
partial indices:
pg_dump does not understand partial indices. (The reason is
the same as above. Partial index predicates are stored as plans)
large objects:
pg_dump does not handle large objects. Large
objects are ignored and must be dealt with manually.
oid preservation:
pg_dump does not preserve oid's while dumping. If you have
stored oid's explicitly in tables in user-defined attributes,
and are using them as keys, then the output scripts will not
regenerate your database correctly.
pg_dump requires postgres95 beta0.03 or later.
Bug-reporting
--------------
If you should find a problem with pg_dump, it is very important that
you provide a (small) sample database which illustrates the problem.
Please send bugs, questions, and feedback to the
postgres95@postgres95.vnet.net
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment