Boa tarde Pessoal,
sabem se existe algum parâmetro que possa alterar este comportamento, ou
somente alteração no core?
select cast('01/01/70' as date) , cast('01/01/69' as date);
date | date
------------+------------
1970-01-01 | 2069-01-01
O link de documentação:
https://www.postgresql.org/docs/9.4/static/functions-formatting.html
Diz o seguinte: "If the year format specification is less than four
digits, e.g. YYY, and the supplied year is less than four digits, the
year will be adjusted to be nearest to the year 2020, e.g. 95 becomes 1995."
Gostaria de usar como base por exemplo 2030 e não 2020 para que o
cliente ganhe mais um tempo até corrigir a sua aplicação.
Obrigado!
Att.
Alex
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral