Has there been any movement on this? as of 8.1.2 psql still whines on OS X tiger when you exit.
I realize it is not significant, but I'd still rather not see it.
In the interim, I've done:

                errno = 0;
                write_history(fname);  /* return value is not standardized */
                if (errno)
psql_error("could not save history to file \"%s\": %s\n", fname, strerror(errno));
                else
                        return true;

and it seems to have cured the problem for me. Is this even reasonable? I'm not a C programmer

-jason

On Aug 28, 2005, at 12:04 PM, Tom Lane wrote:

What I'm kind of inclined to do is change our saveHistory() function
to not look at the return value of write_history() at all, but instead
do

        errno = 0;
        write_history(fname);  /* return value is not standardized */
        if (errno)
                print message;

Anyone have a better idea?


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to