pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander M. Pravking <fduch@antar.bryansk.ru>
To: Iain <iain@mst.co.jp>
Cc: Karel Zak <zakkr@zf.jcu.cz>
Cc: Christoph Haller <ch@rodos.fzk.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Validity check in to_date?
Date: Tue, 2 Dec 2003 13:58:35 +0300
Message-ID: <20031202105835.GJ87728@dyatel.antar.bryansk.ru> (raw)
In-Reply-To: <20031202105506.GI87728@dyatel.antar.bryansk.ru>
References: <20031127141125.GC87728@dyatel.antar.bryansk.ru>
	<200312020927.KAA17321@rodos>
	<20031202095713.GB17884@zf.jcu.cz>
	<005201c3b8c1$52374a60$7201a8c0@mst1x5r347kymb>
	<20031202105506.GI87728@dyatel.antar.bryansk.ru>

On Tue, Dec 02, 2003 at 01:55:06PM +0300, Alexander M. Pravking wrote:
> Try using check (VALUE::text::date).

Assuming check expects boolean result, it's (VALUE::text::date IS NOT NULL)


-- 
Fduch M. Pravking



view thread (11+ messages)  latest in thread

Message-ID: <20031202105835.GJ87728@dyatel.antar.bryansk.ru>
Permalink:  ../20031202105835.GJ87728@dyatel.antar.bryansk.ru/
Also on:    postgresql.org/message-id/20031202105835.GJ87728@dyatel.antar.bryansk.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: fduch@antar.bryansk.ru, iain@mst.co.jp, zakkr@zf.jcu.cz, ch@rodos.fzk.de
  Subject: Re: Validity check in to_date?
  In-Reply-To: <20031202105835.GJ87728@dyatel.antar.bryansk.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox