<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3371915898459901668.post8317383033226361973..comments</id><updated>2009-08-12T19:11:06.758-03:00</updated><title type='text'>Comments on Meu Blog de PostgreSQL!!!: Validação de CPF - Algoritmo Sem Loops</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://postgresqlbr.blogspot.com/feeds/8317383033226361973/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default'/><link rel='alternate' type='text/html' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html'/><author><name>cbleopoldino</name><uri>http://www.blogger.com/profile/16676839129160419931</uri><email>claudio.leopoldino@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3371915898459901668.post-997011919632890288</id><published>2009-08-12T19:11:06.758-03:00</published><updated>2009-08-12T19:11:06.758-03:00</updated><title type='text'>Legal cara, já viu esse site?

http://www.gerardoc...</title><content type='html'>Legal cara, já viu esse site?&lt;br /&gt;&lt;br /&gt;http://www.gerardocumentos.com.br/&lt;br /&gt;&lt;br /&gt;Muito bom</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default/997011919632890288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default/997011919632890288'/><link rel='alternate' type='text/html' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html?showComment=1250115066758#c997011919632890288' title=''/><author><name>Gerar Documentos</name><uri>http://www.blogger.com/profile/10626385805364851525</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html' ref='tag:blogger.com,1999:blog-3371915898459901668.post-8317383033226361973' source='http://www.blogger.com/feeds/3371915898459901668/posts/default/8317383033226361973' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3371915898459901668.post-1170555570253249857</id><published>2008-07-28T14:39:00.000-03:00</published><updated>2008-07-28T14:39:00.000-03:00</updated><title type='text'>Demetresku, tens toda a razão! Foi erro de copiar ...</title><content type='html'>Demetresku, tens toda a razão! Foi erro de copiar e colar de outro programa.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default/1170555570253249857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default/1170555570253249857'/><link rel='alternate' type='text/html' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html?showComment=1217266740000#c1170555570253249857' title=''/><author><name>cbleopoldino</name><uri>http://www.blogger.com/profile/16676839129160419931</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18228914201022771742'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html' ref='tag:blogger.com,1999:blog-3371915898459901668.post-8317383033226361973' source='http://www.blogger.com/feeds/3371915898459901668/posts/default/8317383033226361973' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3371915898459901668.post-7470032037482866893</id><published>2008-07-25T13:05:00.000-03:00</published><updated>2008-07-25T13:05:00.000-03:00</updated><title type='text'>Valeu pelo artigo..  :)Uma pergunta, porém: há alg...</title><content type='html'>Valeu pelo artigo..  :)&lt;BR/&gt;&lt;BR/&gt;Uma pergunta, porém: há alguma razão específica de você ter codificado:&lt;BR/&gt;&lt;BR/&gt;IF char_length(par_cpf) = 11 THEN&lt;BR/&gt;     -- (esse bloco esta vazio)&lt;BR/&gt;ELSE&lt;BR/&gt;RAISE NOTICE &amp;#39;Formato inválido: %&amp;#39;,$1;&lt;BR/&gt;RETURN 0;&lt;BR/&gt;END IF;&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;.. quando poderia ter usado uma lógica mais simples e enxuta como:&lt;BR/&gt;&lt;BR/&gt;IF char_length(par_cpf) &amp;lt;&amp;gt; 11 THEN&lt;BR/&gt;RAISE NOTICE &amp;#39;Formato inválido: %&amp;#39;,$1;&lt;BR/&gt;RETURN 0;&lt;BR/&gt;END IF;&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;Abraços&lt;BR/&gt;&lt;BR/&gt;Roger</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default/7470032037482866893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3371915898459901668/8317383033226361973/comments/default/7470032037482866893'/><link rel='alternate' type='text/html' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html?showComment=1217001900000#c7470032037482866893' title=''/><author><name>Roger Demetrescu</name><uri>http://www.blogger.com/profile/08741324019734334286</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://postgresqlbr.blogspot.com/2008/07/validao-de-cpf-algoritmo-sem-loops.html' ref='tag:blogger.com,1999:blog-3371915898459901668.post-8317383033226361973' source='http://www.blogger.com/feeds/3371915898459901668/posts/default/8317383033226361973' type='text/html'/></entry></feed>