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

Commit8a0c9b1

Browse files
committed
pg_database's datpath column must not be marked toastable, because
GetRawDatabaseInfo() won't cope with a compressed path spec (much lessa moved-off one). I'm not going to force an initdb for this change,because it's noncritical --- we're not actually using datpath at allright now. But it seems a good idea to apply the fix while I'm thinkingabout it.
1 parenta3cac3a commit8a0c9b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/include/catalog/pg_attribute.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $Id: pg_attribute.h,v 1.67 2000/11/1418:37:46 tgl Exp $
11+
* $Id: pg_attribute.h,v 1.68 2001/01/1422:17:22 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -284,7 +284,8 @@ DATA(insert OID = 0 ( 1262 encoding23 0 4 3 0 -1 -1 t p f i f f));
284284
DATA(insertOID=0 (1262datistemplate160140-1-1tpfcff));
285285
DATA(insertOID=0 (1262datallowconn160150-1-1tpfcff));
286286
DATA(insertOID=0 (1262datlastsysoid260460-1-1tpfiff));
287-
DATA(insertOID=0 (1262datpath250-170-1-1fxfiff));
287+
/* do not mark datpath as toastable; GetRawDatabaseInfo won't cope */
288+
DATA(insertOID=0 (1262datpath250-170-1-1fpfiff));
288289
DATA(insertOID=0 (1262ctid2706-10-1-1fpfiff));
289290
DATA(insertOID=0 (1262oid2604-20-1-1tpfiff));
290291
DATA(insertOID=0 (1262xmin2804-30-1-1tpfiff));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp