Pessoal me deparei com um problema aqui.
eu fiz uma procedure usando a função lpad assim:
lpad(0,11,0)
No postgresql 8.2.6 -(no linux) - funcionava tranquilo
No postgresql 8.3.1 (no windows) - Está dando o erro :
ERROR: function lpad(integer, integer, integer) does not exist
LINE 1: select lpad(0,11,0)
^
HINT: No function matches the given name and argument types. You might need
to add explicit type casts.
Fui ver a documentação, e tanto na do 8.3 quanto na do 8.3 a sintaxe é:
lpad(string text, length int [, fill text])
ou seja pela sintaxe esta certo ocorrer o erro, mas como é que isso
funcionava no 8.2 ?
--
Silfar Goulart
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral