Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0968601

Browse files
committed
First a core dump which can be relieved by:
Patrick Welche
1 parent ec195b9 commit 0968601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/catalog/catalog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.34 2000/10/16 14:52:02 vadim Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.35 2000/10/21 18:41:51 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -173,7 +173,7 @@ GetDatabasePath(Oid tblNode)
173173
bool
174174
IsSystemRelationName(const char *relname)
175175
{
176-
if (relname[0] && relname[1] && relname[2])
176+
if (relname && relname[0] && relname[1] && relname[2])
177177
return (relname[0] == 'p' &&
178178
relname[1] == 'g' &&
179179
relname[2] == '_');

0 commit comments

Comments
 (0)