Skip to content

Commit

Permalink
Correction (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: Kirill Reshke <[email protected]>
  • Loading branch information
reshke and Kirill Reshke authored Mar 31, 2024
1 parent 3e0f984 commit 6a81276
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions yezzey--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ BEGIN
RAISE EXCEPTION 'relation % is not found in pg_class', i_offload_relname;
END IF;

-- SELECT parrelid
-- FROM pg_partition
-- INTO v_par_reloid
-- WHERE parrelid = v_reloid;
SELECT parrelid
FROM pg_partition
INTO v_par_reloid
WHERE parrelid = v_reloid;

IF TRUE THEN
IF NOT FOUND THEN
-- non-partitioned relation
PERFORM yezzey_define_relation_offload_policy_internal_seg(
v_reloid
Expand Down

0 comments on commit 6a81276

Please sign in to comment.