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
0dec3a8d
Commit
0dec3a8d
authored
27 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Fix problem of COPY before vacuum.
parent
4e9df155
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/bin/initdb/initdb.sh
+7
-4
7 additions, 4 deletions
src/bin/initdb/initdb.sh
src/include/catalog/indexing.h
+3
-3
3 additions, 3 deletions
src/include/catalog/indexing.h
with
10 additions
and
7 deletions
src/bin/initdb/initdb.sh
+
7
−
4
View file @
0dec3a8d
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.2
6
1997/11/1
4 21:37:35
momjian Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.2
7
1997/11/1
5 17:15:34
momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -346,12 +346,15 @@ fi
...
@@ -346,12 +346,15 @@ fi
echo
echo
echo
"vacuuming template1"
echo
"vacuum analyze"
| postgres
-F
-Q
-D
$PGDATA
template1 2>&1
>
/dev/null |
\
grep
-v
"^DEBUG:"
echo
"loading pg_description"
echo
"loading pg_description"
echo
"copy pg_description from '
$TEMPLATE_DESCR
'"
| postgres
-F
-Q
-D
$PGDATA
template1
>
/dev/null
echo
"copy pg_description from '
$TEMPLATE_DESCR
'"
| postgres
-F
-Q
-D
$PGDATA
template1
>
/dev/null
echo
"copy pg_description from '
$GLOBAL_DESCR
'"
| postgres
-F
-Q
-D
$PGDATA
template1
>
/dev/null
echo
"copy pg_description from '
$GLOBAL_DESCR
'"
| postgres
-F
-Q
-D
$PGDATA
template1
>
/dev/null
echo
"vacuum analyze pg_description"
| postgres
-F
-Q
-D
$PGDATA
template1 2>&1
>
/dev/null |
\
echo
"vacuuming template1"
echo
"vacuum"
| postgres
-F
-Q
-D
$PGDATA
template1 2>&1
>
/dev/null |
\
grep
-v
"^DEBUG:"
grep
-v
"^DEBUG:"
This diff is collapsed.
Click to expand it.
src/include/catalog/indexing.h
+
3
−
3
View file @
0dec3a8d
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: indexing.h,v 1.
9
1997/11/1
4 05:57:42
momjian Exp $
* $Id: indexing.h,v 1.
10
1997/11/1
5 17:15:35
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
#define AttrDefaultIndex "pg_attrdefind"
#define AttrDefaultIndex "pg_attrdefind"
#define RelCheckIndex "pg_relcheckind"
#define RelCheckIndex "pg_relcheckind"
#define TriggerRelidIndex "pg_trigrelidind"
#define TriggerRelidIndex "pg_trigrelidind"
#define DescriptionObj
Oid
Index "pg_descrobj
oid
ind"
#define DescriptionObjIndex "pg_descrobjind"
extern
char
*
Name_pg_attr_indices
[];
extern
char
*
Name_pg_attr_indices
[];
extern
char
*
Name_pg_proc_indices
[];
extern
char
*
Name_pg_proc_indices
[];
...
@@ -119,7 +119,7 @@ DECLARE_INDEX(pg_relcheckind on pg_relcheck using btree(rcrelid oid_ops));
...
@@ -119,7 +119,7 @@ DECLARE_INDEX(pg_relcheckind on pg_relcheck using btree(rcrelid oid_ops));
DECLARE_INDEX
(
pg_trigrelidind
on
pg_trigger
using
btree
(
tgrelid
oid_ops
));
DECLARE_INDEX
(
pg_trigrelidind
on
pg_trigger
using
btree
(
tgrelid
oid_ops
));
DECLARE_INDEX
(
pg_descrobj
oid
ind
on
pg_description
using
btree
(
objoid
oid_ops
));
DECLARE_INDEX
(
pg_descrobjind
on
pg_description
using
btree
(
objoid
oid_ops
));
/* now build indices in the initialization scripts */
/* now build indices in the initialization scripts */
BUILD_INDICES
BUILD_INDICES
...
...
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