8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec195b9 commit 0968601Copy full SHA for 0968601
src/backend/catalog/catalog.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.34 2000/10/16 14:52:02 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.35 2000/10/21 18:41:51 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -173,7 +173,7 @@ GetDatabasePath(Oid tblNode)
173
bool
174
IsSystemRelationName(const char *relname)
175
{
176
- if (relname[0] && relname[1] && relname[2])
+ if (relname && relname[0] && relname[1] && relname[2])
177
return (relname[0] == 'p' &&
178
relname[1] == 'g' &&
179
relname[2] == '_');
0 commit comments