pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: silly sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: How to select text field as interger
Date: Wed, 30 Jun 2010 12:12:46 +0400
Message-ID: <4C2AFC7E.2050806@bankir.ru> (raw)
In-Reply-To: <25124.1277849228@sss.pgh.pa.us>
References: <4C2A5CB4.3000601@s-wise.nl>
	<m31vbpsg4t.fsf@passepartout.tim-landscheidt.de>
	<25124.1277849228@sss.pgh.pa.us>

>> | SELECT Name FROM Test WHERE Name::INT = 1;
>
> But note that this is going to throw an error if there are any table
> rows where the name field *doesn't* contain a valid integer.

and it recalls the problem of error suppressing once again





view thread (4+ messages)

Message-ID: <4C2AFC7E.2050806@bankir.ru>
Permalink:  ../4C2AFC7E.2050806@bankir.ru/
Also on:    postgresql.org/message-id/4C2AFC7E.2050806@bankir.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: sad@bankir.ru
  Subject: Re: How to select text field as interger
  In-Reply-To: <4C2AFC7E.2050806@bankir.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