<div dir="ltr">In db manager you can import data in new table or add features to an existing table.<br>Or you can add empty column to a table, select in qgis desktop, open atribute table, display selected features on top and edit empty column by your atributes.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-30 6:10 GMT+01:00 David Kramer <span dir="ltr"><<a href="mailto:davidk@gmail.com" target="_blank">davidk@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Leknin, </div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for the reply. I've followed your recipe and indeed I can paste my selected features as a new memory layer (thanks Jan) and then import the layer via db manager into postgis. This is tremendously useful, but is not quite what I'm looking for.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't really want to create a new table, I really want to just select a few fields out of my newly selected layer and save those as a row in an already created table. For example, let's assume I have a table that lists franchises the states that they do business in and the columns:</div><div class="gmail_extra"><br></div><div class="gmail_extra">'Franchise Name'    |  'States'             | 'geom'</div><div class="gmail_extra">===================================</div><div class="gmail_extra">Alice's Restaurant   | "NY, NJ, PA"    |   ...<br></div><div class="gmail_extra">Joe's Burgers          |  "CA, NV, OR"  |   ...</div><div class="gmail_extra"><br></div><div class="gmail_extra">To add a new row to the table I'd like to go into qgis, select the states for a franchise (from a layer of states), save that as a memory layer. Then I'd like to have a save function which allows me to enter the franchise name. It would save only the name, the states and the geometry as a row in the table. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Make sense? Is this possible from the GUI or do I need to write a plugin in pyQGIS?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thx</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">David</div></font></span></div>
</blockquote></div><br></div>