Skip to content
Snippets Groups Projects
Commit 4ed04855 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Crash on NULL again in system table check.

parent f8ff1ee5
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.35 2000/10/21 18:41:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.36 2000/10/22 05:14:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -173,7 +173,7 @@ GetDatabasePath(Oid tblNode)
bool
IsSystemRelationName(const char *relname)
{
if (relname && relname[0] && relname[1] && relname[2])
if (relname[0] && relname[1] && relname[2])
return (relname[0] == 'p' &&
relname[1] == 'g' &&
relname[2] == '_');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment