Query with error - DOW FROM timestamp - Mailing list pgsql-general

From Victor Sterpu
Subject Query with error - DOW FROM timestamp
Date
Msg-id em73716bc5-566b-4ff4-9085-6c4a65918d1e@victor-pc
Whole thread Raw
Responses Re: Query with error - DOW FROM timestamp  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-general
Hello
 
When I run the query from down I receive an error.
How can I write this query to receive the day ot the week.
SELECT EXTRACT(DOW FROM timestamp TO_TIMESTAMP('14-10-2011',  'DD-MM-YYYY'));
 
Thank you

DISCLAIMER:
Acest mesaj de posta electronica si documentele aferente sunt confidentiale. Este interzisa distribuirea, dezvaluirea sau orice alt mod de utilizare a lor. Daca nu sunteti destinatarul acestui mesaj, este interzis sa actionati in baza acestor informatii. Citirea, copierea, distribuirea, dezvaluirea sau utilizarea in alt mod a informatiei continute in acest mesaj constituie o incalcare a legii. Daca ati primit mesajul din greseala, va rugam sa il distrugeti, anuntand expeditorul de eroarea comisa. Intrucat nu poate fi garantat faptul ca posta electronica este un mod sigur si lipsit de erori de transmitere a informatiilor, este responsabilitatea dvs. sa va asigurati ca mesajul (inclusiv documentele alaturate lui) este validat si autorizat spre a fi utilizat in mediul dvs.

pgsql-general by date:

Previous
From: basti
Date:
Subject: archiving transaction log file failed too many times, will try again later
Next
From: Albe Laurenz
Date:
Subject: Re: Query with error - DOW FROM timestamp