Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Ubuntu #140

Open
pjfalbe opened this issue Jan 30, 2023 · 0 comments
Open

Error on Ubuntu #140

pjfalbe opened this issue Jan 30, 2023 · 0 comments

Comments

@pjfalbe
Copy link

pjfalbe commented Jan 30, 2023

When trying to register pg_bulkload on Ubuntu 22.10 I get this error. I download the zip of the source compiled and when running the follwoing code I get the error below. Any help would be appreciated. I

BEGIN;

CREATE SCHEMA pgbulkload;

CREATE FUNCTION pgbulkload.pg_bulkload(
IN options text[],
OUT skip bigint,
OUT count bigint,
OUT parse_errors bigint,
OUT duplicate_new bigint,
OUT duplicate_old bigint,
OUT system_time float8,
OUT user_time float8,
OUT duration float8
)
AS '/usr/lib/postgresql/14/lib/pg_bulkload', 'pg_bulkload' LANGUAGE C VOLATILE STRICT;

COMMIT;

BEGIN
CREATE SCHEMA
psql:/pg_bulkload-master/pg_bulkload.sql:23: ERROR: could not load library "/usr/lib/postgresql/14/lib/pg_bulkload.so": /usr/lib/postgresql/14/lib/pg_bulkload.so: undefined symbol: _bt_dedup_save_htid
ROLLBACK
itsadell:
/pg_bulkload-master$ psql --version
psql (PostgreSQL) 14.6 (Ubuntu 14.6-0ubuntu0.22.10.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant