@@ 231-239 (lines=9) @@ | ||
228 | } |
|
229 | ||
230 | //Do we need to create a tablespace for this item? |
|
231 | if ($advancedOptions && isset($advancedOptions['tablespace'])) { |
|
232 | $this->createOrReplaceTablespace( |
|
233 | $advancedOptions['tablespace']['name'], |
|
234 | $advancedOptions['tablespace']['location'] |
|
235 | ); |
|
236 | $tableSpace = ' TABLESPACE ' . $advancedOptions['tablespace']['name']; |
|
237 | } else { |
|
238 | $tableSpace = ''; |
|
239 | } |
|
240 | ||
241 | $this->query( |
|
242 | "CREATE TABLE \"$table\" ( |
|
@@ 1361-1366 (lines=6) @@ | ||
1358 | $first = true; |
|
1359 | ||
1360 | //Do we need to create a tablespace for this item? |
|
1361 | if ($extensions && isset($extensions['tablespace'])) { |
|
1362 | $this->createOrReplaceTablespace($extensions['tablespace']['name'], $extensions['tablespace']['location']); |
|
1363 | $tableSpace = ' TABLESPACE ' . $extensions['tablespace']['name']; |
|
1364 | } else { |
|
1365 | $tableSpace = ''; |
|
1366 | } |
|
1367 | ||
1368 | foreach ($partitions as $partition_name => $partition_value) { |
|
1369 | //Check that this child table does not already exist: |