Skip to content

Update affected_commands.mdx#7103

Open
yuki-tei wants to merge 1 commit intoEnterpriseDB:developfrom
yuki-tei:patch-18
Open

Update affected_commands.mdx#7103
yuki-tei wants to merge 1 commit intoEnterpriseDB:developfrom
yuki-tei:patch-18

Conversation

@yuki-tei
Copy link
Contributor

@yuki-tei yuki-tei commented Mar 6, 2026

Hi,
Greetings. Hope you are doing well and healthy.

What Changed?

This same issue is found initially in EPAS15 but still exists in EPAS18.
Since its impact is huge, note shall be described in this page. Also, this change should be reflected into all affected versions:
15~18

[enterprisedb@edbsup04 ~]$ psql -p 5446
psql (18.3.0)
Type "help" for help.

edb=# SELECT version()
edb-# ;
                                                                     version
-------------------------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 18.3 (EnterpriseDB Advanced Server 18.3.0) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11), 64-bit
(1 row)

edb=# CREATE TABLE test(col1 int);
CREATE TABLE
edb=#
\q
[enterprisedb@edbsup04 ~]$ for i in $(seq 1 10)
do
  echo $i
done >> test.txt
[enterprisedb@edbsup04 ~]$ cat test.txt
1
2
3
4
5
6
7
8
9
10

[enterprisedb@edbsup04 ~]$ cat test.ctl
LOAD DATA
  INFILE 'test.txt'
  BADFILE 'test.bad'
APPEND
INTO TABLE test
  FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
  TRAILING NULLCOLS
(
  col1
)
[enterprisedb@edbsup04 ~]$ edbldr -p 5446 USERID=enterprisedb/edb CONTROL=test.ctl DIRECT=TRUE
EDB*Loader: Copyright (c) 2007-2025, EnterpriseDB Corporation.

WARNING:  bulk load will not be WAL-logged
HINT:  Continuous archive will not include the loaded data. You must take a new base backup after the load is finished
Successfully processed (10) records
[enterprisedb@edbsup04 ~]$ psql
psql (18.3.0)
Type "help" for help.

edb=#
\q
[enterprisedb@edbsup04 ~]$ psql -p 5446
psql (18.3.0)
Type "help" for help.

edb=# SELECT * FROM test;
ERROR:  invalid page in block 0 of relation "base/14362/16384"

Hope you can take a look.

Kind Regards,
Yuki Tei

@yuki-tei yuki-tei requested a review from a team as a code owner March 6, 2026 01:10
- [pg_upgrade](pg_upgrade_arguments)

## Other tools affected by TDE
When TDE is enabled, data load using EDB*Loader shall not invoked with `DIRECT=TRUE` option.
Copy link
Contributor

@gvasquezvargas gvasquezvargas Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We try to use active voice when possible. Is this an action taken by the user? If yes, maybe something like this would be a bit better:

Suggested change
When TDE is enabled, data load using EDB*Loader shall not invoked with `DIRECT=TRUE` option.
When TDE is enabled, don't use the `DIRECT=TRUE` option when loading data with EDB*Loader.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Since I am not sure if I'm authorized to commit directly, let me leave a comment instead.
Yes, I agree to your change. Please go ahead to commit your change, as long as your team think it's ok.

Kind Regards,
Yuki Tei

@gvasquezvargas
Copy link
Contributor

Thanksa as always @yuki-tei ! I left you one style suggestion, if you can take a look please 🙏 In the meantime, I will ask someone from the EPAS team to perform a technical review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants