Skip to content

Commit

Permalink
Add a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
n-g committed Jan 10, 2025
1 parent 44bb73b commit 6a7d21b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/oss/postgres/prepare/database/functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
-- The functions below provide ensure semantics while only acquiring exclusive locks on mutations.

-- fn_ensure_table is a lock-friendly replacement for `CREATE TABLE IF NOT EXISTS`.
-- WARNING: This function does not support uppercase names.
--
-- Example usage:
--
Expand All @@ -30,6 +31,7 @@ END
$func$;

-- fn_ensure_column is a lock-friendly replacement for `ALTER TABLE ... ADD COLUMN IF NOT EXISTS`.
-- WARNING: This function does not support uppercase names.
--
-- Example usage:
--
Expand Down

0 comments on commit 6a7d21b

Please sign in to comment.