Posts by Douglas Carlos • 11 points
2 posts
-
0
votes3
answers5576
viewsA: Incorrect daylight saving time on Postgresql
Note if you work with systems of more than one time zone, I recommend setting in UTC. Note that you can set the time zone in ːTimezone="America/Sao_paulo" in postgresql.conf Copy the updated…
-
1
votes1
answer88
viewsA: A Rigger that checks the deadline for all products in the table
Create the Trigger: -- Function: public.produto_vencido() -- DROP FUNCTION public.produto_vencido(); CREATE OR REPLACE FUNCTION public.produto_vencido() RETURNS trigger AS $BODY$ BEGIN UPDATE…