Skip to content

Commit

Permalink
Add a drop function for uuid_to_oid
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Jan 3, 2025
1 parent c58ab57 commit 624d78d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions edb/pgsql/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,10 @@ def _setup_patches(patches: list[tuple[str, str]]) -> list[tuple[str, str]]:
"""
PATCHES: list[tuple[str, str]] = _setup_patches([
# 6.0b2?
# One of the sql-introspection's adds a param with a default to
# uuid_to_oid, so we need to drop the original to avoid ambiguity.
('sql', '''
drop function if exists edgedbsql_v6_2f20b3fed0.uuid_to_oid(uuid)
''',
('sql-introspection', ''),
])

0 comments on commit 624d78d

Please sign in to comment.