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

Errors when making installcheck #165

Open
cquheiha opened this issue Oct 6, 2024 · 2 comments
Open

Errors when making installcheck #165

cquheiha opened this issue Oct 6, 2024 · 2 comments
Assignees

Comments

@cquheiha
Copy link

cquheiha commented Oct 6, 2024

In the file regression.diffs, there are many errors like this:

\! pg_bulkload -d contrib_regression data/bin1.ctl -i data/data1.bin -l results/bin1.log -P results/bin1.prs -u results/bin1.dup
  NOTICE: BULK LOAD START
! ERROR: query failed: ERROR:  could not open data file: No such file or directory
! DETAIL: query was: SELECT * FROM pgbulkload.pg_bulkload($1)
  \! awk -f data/adjust.awk results/bin1.log

In the file bin1.log, INPUT, PARSE_BADFILE and LOGFILE are all correct:

INPUT = /home/postgres/polardb_pg/contrib/pg_bulkload-3.1.20/bin/data/data1.bin
PARSE_BADFILE = /home/postgres/polardb_pg/contrib/pg_bulkload-3.1.20/bin/results/bin1.prs
LOGFILE = /home/postgres/polardb_pg/contrib/pg_bulkload-3.1.20/bin/results/bin1.log

The data files can be found in the above directory, but errors happend when I make installcheck.

@cquheiha cquheiha changed the title When making installcheck, what retruns is following: Errors when making installcheck Oct 6, 2024
@shinyaaa
Copy link

Could you please tell me how to install and what is the directory structure?

@shinyaaa shinyaaa self-assigned this Oct 10, 2024
@shinyaaa
Copy link

Is there a path to pg_config? If not, you can run

  1. make USE_PGXS=1 PG_CONFIG=/path/to/pg_config
  2. make USE_PGXS=1 PG_CONFIG=/path/to/pg_config install
  3. make USE_PGXS=1 PG_CONFIG=/path/to/pg_config installcheck

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

2 participants