Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6009d70

Browse files
committed
Set attcacheoff value to -1 for all tables.
1 parentc2dd3c4 commit6009d70

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

‎src/backend/bootstrap/bootstrap.c

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.33 1998/01/25 05:12:47 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.34 1998/02/06 19:18:06 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -312,10 +312,8 @@ BootstrapMain(int argc, char *argv[])
312312
* ----------------
313313
*/
314314
pqsignal(SIGINT, (sig_func)die);
315-
#ifndefwin32
316315
pqsignal(SIGHUP, (sig_func)die);
317316
pqsignal(SIGTERM, (sig_func)die);
318-
#endif/* win32 */
319317

320318
/* --------------------
321319
*initialize globals
@@ -406,12 +404,6 @@ BootstrapMain(int argc, char *argv[])
406404
exitpg(1);
407405
}
408406

409-
#ifdefwin32
410-
_nt_init();
411-
_nt_attach();
412-
#endif/* win32 */
413-
414-
415407
/* ----------------
416408
*backend initialization
417409
* ----------------
@@ -431,18 +423,13 @@ BootstrapMain(int argc, char *argv[])
431423
hashtable[i]=NULL;
432424

433425
/* ----------------
434-
*abort processing resumes here - What to do in WIN32?
426+
*abort processing resumes here
435427
* ----------------
436428
*/
437-
#ifndefwin32
438429
pqsignal(SIGHUP,handle_warn);
439430

440431
if (sigsetjmp(Warn_restart,1)!=0)
441432
{
442-
#else
443-
if (setjmp(Warn_restart)!=0)
444-
{
445-
#endif/* win32 */
446433
Warnings++;
447434
AbortCurrentTransaction();
448435
}
@@ -639,6 +626,7 @@ DefineAttr(char *name, char *type, int attnum)
639626
attlen=attrtypes[attnum]->attlen=Procid[t].len;
640627
attrtypes[attnum]->attbyval= (attlen==1)|| (attlen==2)|| (attlen==4);
641628
}
629+
attrtypes[attnum]->attcacheoff=-1;
642630
}
643631

644632

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp