RES: Error while running restore [SOLVED]

2021-01-22 Thread Márcio Antônio Sepp
> > Hi all, > > > > I’m getting this error message when try to restore a database : > > > > ERROR:  function f_validanumero_cnpj_cpf(character) does not exist > > > > LINE 1: SELECT (f_validanumero_cnpj_cpf(trim(cnpj_cpf)::char)=false) > > > >     ^ > > > > HINT:  No function matches t

RES: Error while running restore

2021-01-22 Thread Márcio Antônio Sepp
Hi > > I’m getting this error message when try to restore a database : > > ERROR: function f_validanumero_cnpj_cpf(character) does not exist > > LINE 1: SELECT (f_validanumero_cnpj_cpf(trim(cnpj_cpf)::char)=false) > > ^ > > HINT: No function matches the given name and argument t

Re: Error while running restore

2021-01-21 Thread Adrian Klaver
On 1/21/21 9:52 AM, Márcio Antônio Sepp wrote: Hi all, I’m getting this error message when try to restore a database : ERROR:  function f_validanumero_cnpj_cpf(character) does not exist LINE 1: SELECT (f_validanumero_cnpj_cpf(trim(cnpj_cpf)::char)=false)     ^ HINT:  No function

Re: Error while running restore

2021-01-21 Thread Tom Lane
=?iso-8859-1?Q?M=E1rcio_Ant=F4nio_Sepp?= writes: > I’m getting this error message when try to restore a database : > ERROR: function f_validanumero_cnpj_cpf(character) does not exist > LINE 1: SELECT (f_validanumero_cnpj_cpf(trim(cnpj_cpf)::char)=false) > ^ > HINT: No function ma

RES: Error while running restore

2021-01-21 Thread Márcio Antônio Sepp
: pgsql-gene...@postgresql.org Assunto: Error while running restore Hi all, I’m getting this error message when try to restore a database : ERROR: function f_validanumero_cnpj_cpf(character) does not exist LINE 1: SELECT (f_validanumero_cnpj_cpf(trim(cnpj_cpf)::char)=false

Error while running restore

2021-01-21 Thread Márcio Antônio Sepp
Hi all, I’m getting this error message when try to restore a database : ERROR: function f_validanumero_cnpj_cpf(character) does not exist LINE 1: SELECT (f_validanumero_cnpj_cpf(trim(cnpj_cpf)::char)=false) ^ HINT: No function matches the given name and argument t