Commit 9d0352a
authored
Fix duplicate cast function creation for binary bytea (#3860)
The cast functions (binary -> bytea and bytea -> binary) created in this PR should be encapsulated in a DO...BEGIN...END block to prevent duplicate cast function creation issues, like this:
This encapsulation ensures the cast functions are created only once and avoids any duplicate function creation errors during multiple executions.
Signed-off-by: Herambh Shah <herambhs@amazon.com>1 parent edad3e7 commit 9d0352a
File tree
1 file changed
+16
-4
lines changed- contrib/babelfishpg_common/sql/upgrades
1 file changed
+16
-4
lines changedLines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
25 | | - | |
26 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
| |||
0 commit comments