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
6009d70e
Commit
6009d70e
authored
Feb 06, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set attcacheoff value to -1 for all tables.
parent
c2dd3c4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
src/backend/bootstrap/bootstrap.c
src/backend/bootstrap/bootstrap.c
+3
-15
No files found.
src/backend/bootstrap/bootstrap.c
View file @
6009d70e
...
@@ -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
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.3
3 1998/01/25 05:12:47
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.3
4 1998/02/06 19:18:06
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -312,10 +312,8 @@ BootstrapMain(int argc, char *argv[])
...
@@ -312,10 +312,8 @@ BootstrapMain(int argc, char *argv[])
* ----------------
* ----------------
*/
*/
pqsignal
(
SIGINT
,
(
sig_func
)
die
);
pqsignal
(
SIGINT
,
(
sig_func
)
die
);
#ifndef win32
pqsignal
(
SIGHUP
,
(
sig_func
)
die
);
pqsignal
(
SIGHUP
,
(
sig_func
)
die
);
pqsignal
(
SIGTERM
,
(
sig_func
)
die
);
pqsignal
(
SIGTERM
,
(
sig_func
)
die
);
#endif
/* win32 */
/* --------------------
/* --------------------
* initialize globals
* initialize globals
...
@@ -406,12 +404,6 @@ BootstrapMain(int argc, char *argv[])
...
@@ -406,12 +404,6 @@ BootstrapMain(int argc, char *argv[])
exitpg
(
1
);
exitpg
(
1
);
}
}
#ifdef win32
_nt_init
();
_nt_attach
();
#endif
/* win32 */
/* ----------------
/* ----------------
* backend initialization
* backend initialization
* ----------------
* ----------------
...
@@ -431,18 +423,13 @@ BootstrapMain(int argc, char *argv[])
...
@@ -431,18 +423,13 @@ BootstrapMain(int argc, char *argv[])
hashtable
[
i
]
=
NULL
;
hashtable
[
i
]
=
NULL
;
/* ----------------
/* ----------------
* abort processing resumes here
- What to do in WIN32?
* abort processing resumes here
* ----------------
* ----------------
*/
*/
#ifndef win32
pqsignal
(
SIGHUP
,
handle_warn
);
pqsignal
(
SIGHUP
,
handle_warn
);
if
(
sigsetjmp
(
Warn_restart
,
1
)
!=
0
)
if
(
sigsetjmp
(
Warn_restart
,
1
)
!=
0
)
{
{
#else
if
(
setjmp
(
Warn_restart
)
!=
0
)
{
#endif
/* win32 */
Warnings
++
;
Warnings
++
;
AbortCurrentTransaction
();
AbortCurrentTransaction
();
}
}
...
@@ -639,6 +626,7 @@ DefineAttr(char *name, char *type, int attnum)
...
@@ -639,6 +626,7 @@ DefineAttr(char *name, char *type, int attnum)
attlen
=
attrtypes
[
attnum
]
->
attlen
=
Procid
[
t
].
len
;
attlen
=
attrtypes
[
attnum
]
->
attlen
=
Procid
[
t
].
len
;
attrtypes
[
attnum
]
->
attbyval
=
(
attlen
==
1
)
||
(
attlen
==
2
)
||
(
attlen
==
4
);
attrtypes
[
attnum
]
->
attbyval
=
(
attlen
==
1
)
||
(
attlen
==
2
)
||
(
attlen
==
4
);
}
}
attrtypes
[
attnum
]
->
attcacheoff
=
-
1
;
}
}
...
...
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