Commit 39c283e
committed
Fix _SPI_execute_plan() for CREATE TABLE IF NOT EXISTS foo AS ...
When IF NOT EXISTS was added to CREATE TABLE AS, this logic didn't get
the memo, possibly resulting in an Assert failure. It looks like there
would have been no ill effects in a non-Assert build, though. Back-patch
to 9.5 where the IF NOT EXISTS option was added.
Stas Kelvich1 parent b0e40d1 commit 39c283e
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
2221 | | - | |
2222 | | - | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
2223 | 2231 | | |
2224 | 2232 | | |
2225 | 2233 | | |
2226 | 2234 | | |
2227 | 2235 | | |
2228 | | - | |
| 2236 | + | |
2229 | 2237 | | |
2230 | 2238 | | |
2231 | 2239 | | |
| |||
0 commit comments