Thanks to visit codestin.com Credit goes to github.com
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 17f5831 commit 8a0aa68Copy full SHA for 8a0aa68
src/bin/psql/input.c
@@ -378,10 +378,10 @@ initializeInput(int flags)
378
*
379
* max_lines: if >= 0, limit history file to that many entries.
380
*/
381
+#ifdef USE_READLINE
382
static bool
383
saveHistory(char *fname, int max_lines)
384
{
-#ifdef USE_READLINE
385
int errnum;
386
387
/*
@@ -446,10 +446,10 @@ saveHistory(char *fname, int max_lines)
446
psql_error("could not save history to file \"%s\": %s\n",
447
fname, strerror(errnum));
448
}
449
-#endif
450
-
451
return false;
452
+#endif
+
453
454
455
0 commit comments