<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    resolvido.<br>
    <br>
    exemplo para quem precisar:<br>
    <br>
    <br>
    alter table ruas add column geo serial<br>
    <br>
    ruas: nome da tabela a acrescentar coluna<br>
    geo: nome da coluna<br>
    <br>
    <br>
    <br>
    On 23-08-2011 14:19, Eloi Ribeiro wrote:
    <blockquote
cite="mid:CANPxM8hjW8njwqcJw8QtSDFQJWYpWfnY2Fi+ioasf4yyhSoNdA@mail.gmail.com"
      type="cite">generate_series(start,&nbsp;stop)
      ou&nbsp;generate_series(start,&nbsp;stop,step)&nbsp;tamb&eacute;m te poderia servir.<br>
      <a moz-do-not-send="true"
        href="http://www.postgresql.org/docs/8.1/static/functions-srf.html">http://www.postgresql.org/docs/8.1/static/functions-srf.html</a>
      <div>
        <br>
      </div>
      <div>Eloi Ribeiro<br>
        GIS Analyst<br>
        39,45&ordm; -0,40&ordm;<br>
        <a moz-do-not-send="true"
          href="http://eloiribeiro.wordpress.com" target="_blank">http://eloiribeiro.wordpress.com</a><br>
        <br>
        <br>
        <div class="gmail_quote">No dia 23 de Agosto de 2011 14:51,
          Fernando Ribeiro <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:fernandinand@gmail.com">fernandinand@gmail.com</a>&gt;</span>
          escreveu:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex;">
            Viva,
            <div><br>
            </div>
            <div><a moz-do-not-send="true"
                href="http://www.postgresql.org/docs/8.1/static/sql-createsequence.html"
                target="_blank">http://www.postgresql.org/docs/8.1/static/sql-createsequence.html</a></div>
            <div><br>
            </div>
            <div>Abra&ccedil;os,<br>
              <br>
              <div class="gmail_quote">
                No dia 23 de Agosto de 2011 13:06, Pedro Costa <span
                  dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:pedrocostaarma@sapo.pt" target="_blank">pedrocostaarma@sapo.pt</a>&gt;</span>
                escreveu:
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Algu&eacute;m sabe se &eacute; possivel com o pgadmin por sql
                      acrescentar uma nova coluna com numera&ccedil;&atilde;o
                      automatica?N&atilde;o precisa de ser chave primaria mas
                      tem de ser unica para cada feature<br>
                      <br>
                      obrigado<br>
                      _______________________________________________<br>
                      Portugal mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Portugal@lists.osgeo.org"
                        target="_blank">Portugal@lists.osgeo.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.osgeo.org/mailman/listinfo/portugal"
                        target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a><br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <font color="#888888">
                <div>Fernando Ribeiro</div>
                <br>
              </font></div>
            <br>
            _______________________________________________<br>
            Portugal mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/portugal"
              target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Portugal mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/portugal">http://lists.osgeo.org/mailman/listinfo/portugal</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>