<p>There was already support in progress for schemas in the flex backend, which is likely to replace the pgsql backend at some point. Until then, I've found it useful to be able to import data directly into a schema.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/osm2pgsql/pull/1241'>https://github.com/openstreetmap/osm2pgsql/pull/1241</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Extended schema support to pgsql backend.</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-added0e699c20a170b5074495ff83c22">src/middle-pgsql.cpp</a>
(45)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-8fc678ba06a385b9b43fa2afc72e840c">src/options.cpp</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-e1c9ddc1756fbfc23ab4970762a3a928">src/options.hpp</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-a3e65ae6b86635f909c8ecd8ad1a12c1">src/output-multi.cpp</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-2775989ebde2a0178e22e1329ff70ee1">src/output-pgsql.cpp</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-4eaa4d157c8b98372ad84ef48547fa71">src/table.cpp</a>
(44)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/osm2pgsql/pull/1241/files#diff-0e91df6bf8fec3052a24bca9a7af6b7e">src/table.hpp</a>
(3)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1241.patch'>https://github.com/openstreetmap/osm2pgsql/pull/1241.patch</a></li>
<li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1241.diff'>https://github.com/openstreetmap/osm2pgsql/pull/1241.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1241">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353R3LWT6MSDMPYWGJ4TRZSR43ANCNFSM4OPABPQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353T2VIQB5RCJUTPZ3S3RZSR43A5CNFSM4OPABPQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JV6S4GQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1241",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1241",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>