Skip to content

Commit 40cfda9

Browse files
committed
Correct schema update message, per Richard Yen.
1 parent 6df18a9 commit 40cfda9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgAgent.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void MainLoop()
199199
if (!hasSchemaVerFunc)
200200
{
201201
LogMessage(
202-
"Couldn't find the function 'pgagent_schema_version' - please run pgagent_upgrade.sql.",
202+
"Couldn't find the function 'pgagent_schema_version' - please run ALTER EXTENSION \"pgagent\" UPDATE;.",
203203
LOG_ERROR
204204
);
205205
}
@@ -214,7 +214,7 @@ void MainLoop()
214214
LogMessage(
215215
"Unsupported schema version: " + strPgAgentSchemaVer +
216216
". Version " + currentPgAgentVersion +
217-
" is required - please run pgagent_upgrade.sql.",
217+
" is required - please run ALTER EXTENSION \"pgagent\" UPDATE;.",
218218
LOG_ERROR
219219
);
220220
}

0 commit comments

Comments
 (0)