Any idea how I can get the 480K records from tiger_staging.fl_tabblock10 to tiger_data.fl_tabblock<br><br><div class="gmail_quote">On Tue, May 22, 2012 at 8:47 AM, Mario Sileone [via PostGIS] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4997655&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Dear Jeff:
<br> according to the error detailed
<br></div><div class="im">ERROR: INSERT has more expressions than target columns
<br></div><div class="im"> You Have:
<br>the_geom,intptlon,intptlat,awater,aland,funcstat,uace,ur,mtfcc,name,tabblock_id,blockce,tractce,countyfp,statefp
<br><br>Which count 15 expressions and
<br><br>the_geom,intptlon10,intptlat10,awater10,aland10,funcstat10,uatyp10,uace10,ur10,mtfcc10,name10,tabblock_id,blockce10,tractce10,countyfp10,statefp10
<br><br>are 16 values.
<br><br>So, or You have a missin expression or one more value, check this.
<br><br>Best Regards
<br><br><br>El 22/05/2012 8:45, Jeff Rossi escribió:
</div><div><br><div><div class="h5">> Sorry if this is a double post, had an issue with my mail server and had to
<div class='shrinkable-quote'><br>> use my personal email.
<br>>
<br>> This is my first project with postgresql/postgis and it is possible and
<br>> maybe even probable that I made an error. I used pgadmin to generate import
<br>> scripts by state and started with florida. The errors are below:
<br>>
<br>> ####
<br>>
<br>> COMMIT
<br>> NOTICE: INSERT INTO
<br>> tiger_data.fl_tabblock(the_geom,intptlon,intptlat,awater,aland,funcstat,uace,ur,mtfcc,name,tabblock_id,blockce,tractce,countyfp,statefp)
<br>> SELECT
<br>> the_geom,intptlon10,intptlat10,awater10,aland10,funcstat10,uatyp10,uace10,ur10,mtfcc10,name10,tabblock_id,blockce10,tractce10,countyfp10,statefp10
<br>> FROM tiger_staging.fl_tabblock10;
<br>> CONTEXT: SQL function "loader_load_staged_data" statement 1
<br>> ERROR: INSERT has more expressions than target columns
<br>> LINE 1: ...name10,tabblock_id,blockce10,tractce10,countyfp10,statefp10 ...
<br>> ^
<br>> QUERY: INSERT INTO
<br>> tiger_data.fl_tabblock(the_geom,intptlon,intptlat,awater,aland,funcstat,uace,ur,mtfcc,name,tabblock_id,blockce,tractce,countyfp,statefp)
<br>> SELECT
<br>> the_geom,intptlon10,intptlat10,awater10,aland10,funcstat10,uatyp10,uace10,ur10,mtfcc10,name10,tabblock_id,blockce10,tractce10,countyfp10,statefp10
<br>> FROM tiger_staging.fl_tabblock10;
<br>> CONTEXT: PL/pgSQL function "loader_load_staged_data" line 24 at EXECUTE
<br>> statement
<br>> SQL function "loader_load_staged_data" statement 1
<br>>
<br>> ####
<br>>
<br>> It appears to me that the extra column is uatyp10
<br>>
<br>> Many Thanks for your Assistance,
<br>>
<br>> Jeff
<br>>
<br>> --
<br>> View this message in context: <a href="http://postgis.17.n6.nabble.com/tiger-geocoder-import-error-tp4997634.html" rel="nofollow" link="external" target="_blank">http://postgis.17.n6.nabble.com/tiger-geocoder-import-error-tp4997634.html</a></div>
> Sent from the PostGIS - User mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> postgis-users mailing list
<br></div></div>> <a href="http://user/SendEmail.jtp?type=node&node=4997640&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" rel="nofollow" link="external" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>>
</div><div class="im"><br><br>--
<br>Mario Sileone
<br>_______________________________________________
<br>postgis-users mailing list
<br></div><a href="http://user/SendEmail.jtp?type=node&node=4997640&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" rel="nofollow" link="external" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://postgis.17.n6.nabble.com/tiger-geocoder-import-error-tp4997634p4997640.html" target="_blank" rel="nofollow" link="external">http://postgis.17.n6.nabble.com/tiger-geocoder-import-error-tp4997634p4997640.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from tiger_geocoder import error, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://postgis.17.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br><br>Jeff Rossi<br><br>Intouch MVC<br>1506 Tuscaloosa Ave<br>Holly Hill, FL 32117<br>(386) 226-8979<br>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://postgis.17.n6.nabble.com/tiger-geocoder-import-error-tp4997634p4997655.html">Re: tiger_geocoder import error</a><br/>
Sent from the <a href="http://postgis.17.n6.nabble.com/PostGIS-User-f3516033.html">PostGIS - User mailing list archive</a> at Nabble.com.<br/>