From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | rjhb(at)bb-c(dot)de |
Subject: | BUG #18581: psql symbol append_history not found when quitting |
Date: | 2024-08-13 09:22:41 |
Message-ID: | 18581-21ea8faa9008ac68@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 18581
Logged by: Rainer Brandt
Email address: rjhb(at)bb-c(dot)de
PostgreSQL version: 15.8
Operating system: Solaris 11.4
Description:
When leaving a psql session via \q in 15.8 (which I built today under Oracle
Solaris 11.4), I get:
ld.so.1: psql: fatal: relocation error: file
/opt/postgres/15-pgdg/bin/64/psql: symbol append_history: referenced symbol
not found
Killed
Then with nm:
nm /opt/postgres/15-pgdg/bin/64/psql | grep append_history
[1744] | 4296745248| 0|FUNC |GLOB |0 |UNDEF
|append_history
[1511] | 4295420712| 112|FUNC |GLOB |0 |14
|pg_append_history
Previously, I used 15.6, which only uses pg_append_history and doesn't use
append_history.
I also see:
grep -n append_history postgresql-15.8/src/bin/psql/*
postgresql-15.8/src/bin/psql/input.c:114:pg_append_history(const char *s,
PQExpBuffer history_buf)
postgresql-15.8/src/bin/psql/input.c:133: * pg_append_history before we'll
do anything.
postgresql-15.8/src/bin/psql/input.c:453: /*
append_history fails if file doesn't already exist :-( */
postgresql-15.8/src/bin/psql/input.c:462: errnum =
append_history(nlines, fname);
[...]
Isn't the a "pg_" missing on line 462?
Thank you.
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2024-08-13 12:12:27 | Re: FDW INSERT batching can change behavior |
Previous Message | Jason Kim | 2024-08-13 04:57:39 | Re: FDW INSERT batching can change behavior |