yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
9.02k stars 1.08k forks source link

[YSQL] Ignore FREEZE option in COPY #25044

Open pao214 opened 16 hours ago

pao214 commented 16 hours ago

Jira Link: DB-14178

Description

COPY with FREEZE option fails with the following error in read committed isolation.

ERROR:  cannot perform COPY FREEZE because the table was not created or truncated in the current subtransaction

FREEZE is a pg14 feature that is related to VACUUM. VACUUM is not relevant for YB. Perhaps, we can implement something similar to FREEZE in DocDB in the future if necessary.

For now, make FREEZE a no-op.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information