Commit 1b624ae
committed
refactor: remove strict and parallel safe attrs
Closes #172.
Remove strict as explained on #172.
A test is added on a previous commit to ensure the behavior is
maintained.
Also, remove PARALLEL SAFE since these functions are really PARALLEL UNSAFE,
as mentioned on the docs:
"Functions and aggregates must be marked PARALLEL UNSAFE if they write to the database,"
https://www.postgresql.org/docs/current/parallel-safety.html
Also remove VOLATILE since it's implicit.1 parent b449d38 commit 1b624ae
4 files changed
+25
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
84 | | - | |
85 | 81 | | |
86 | 82 | | |
87 | | - | |
88 | 83 | | |
89 | 84 | | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
93 | 88 | | |
94 | | - | |
95 | 89 | | |
96 | 90 | | |
97 | 91 | | |
| |||
115 | 109 | | |
116 | 110 | | |
117 | 111 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 112 | | |
122 | 113 | | |
123 | 114 | | |
| |||
159 | 150 | | |
160 | 151 | | |
161 | 152 | | |
162 | | - | |
163 | | - | |
164 | 153 | | |
165 | 154 | | |
166 | 155 | | |
| |||
229 | 218 | | |
230 | 219 | | |
231 | 220 | | |
232 | | - | |
233 | | - | |
234 | 221 | | |
235 | 222 | | |
236 | 223 | | |
| |||
289 | 276 | | |
290 | 277 | | |
291 | 278 | | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 279 | | |
296 | 280 | | |
297 | 281 | | |
| |||
343 | 327 | | |
344 | 328 | | |
345 | 329 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | 330 | | |
350 | 331 | | |
351 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
21 | | - | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | | - | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments