8000 Crash on NULL again in system table check. · postgrespro/postgres_cluster@4ed0485 · GitHub
[go: up one dir, main page]

Skip to content

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

Appearance settings

Commit 4ed0485

Browse files
committed
Crash on NULL again in system table check.
1 parent f8ff1ee commit 4ed0485

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.35 2000/10/21 18:41:51 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.36 2000/10/22 05:14:01 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -173,7 +173,7 @@ GetDatabasePath(Oid tblNode)
173173
bool
174174
IsSystemRelationName(const char *relname)
175175
{
176-
if (relname && relname[0] && relname[1] && relname[2])
176+
if (relname[0] && relname[1] && relname[2])
177177
return (relname[0] == 'p' &&
178178
relname[1] == 'g' &&
179179
relname[2] == '_');

0 commit comments

Comments
 (0)
0