Commit ad5de77
committed
Only create create_only columns in final table
The flex output supports "create_only" table columns which are only
created but not filled with any data. This can lead to problems in some
cases (for instance when a column of type SERIAL is used) because
osm2pgsql usually creates tables twice, first a temporary table, then a
final one. This commit changes the behaviour slightly: The "create_only"
column is only created in the final table.
Fixes #15221 parent d53d656 commit ad5de77
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
217 | | - | |
218 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
| |||
0 commit comments