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
0dec3a8d
Commit
0dec3a8d
authored
Nov 15, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem of COPY before vacuum.
parent
4e9df155
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
src/bin/initdb/initdb.sh
src/bin/initdb/initdb.sh
+7
-4
src/include/catalog/indexing.h
src/include/catalog/indexing.h
+3
-3
No files found.
src/bin/initdb/initdb.sh
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/14 21:37:35
momjian Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.2
7 1997/11/15 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:"
src/include/catalog/indexing.h
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/14 05:57:42
momjian Exp $
* $Id: indexing.h,v 1.
10 1997/11/15 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
OidIndex "pg_descrobjoid
ind"
#define DescriptionObj
Index "pg_descrobj
ind"
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
...
...
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