pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Clift <aa2@bigpond.net.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Possible bug? WAS :Bad (null) varchar() external representation.
Date: Fri, 12 Jan 2001 13:27:39 +1100
Message-ID: <3A5E6B9B.2E45D429@bigpond.net.au> (raw)
References: <3A5CA5FA.CBDF0513@bigpond.net.au>
	<3A5CB33B.A2D61F9B@bigpond.net.au>
	<12256.979240778@sss.pgh.pa.us>

Hi Tom,

I think you are right.  It does seem to barf on NULLS and
length(varchar), regardless.

Thanks for your assistance.

BTW - How do things normally get added to the FAQ?  I would like to add
something about length(varchar) and NULLS not working in PostgreSQL
7.0.x

Regards and best wishes,

Justin Clift
Database Administrator

Tom Lane wrote:
> 
> Justin Clift <aa2@bigpond.net.au> writes:
> > I haven't seen a mention of a maximum number of constraints of similar
> > applying to a table.  If so, then could someone please point me to it...
> 
> There is no such limit that I know of.
> 
> > Yet if I remove BOTH the "staff_details_phone_three" &
> > "staff_details_managers_notes" constraints it works  :
> 
> Are you absolutely certain that that's how it went?  I think the most
> likely story is just that you were hitting the length(varchar)-barfs-
> on-NULL bug, and got confused about which combinations you'd tried.
> 
>                         regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <3A5E6B9B.2E45D429@bigpond.net.au>
Permalink:  ../3A5E6B9B.2E45D429@bigpond.net.au/
Also on:    postgresql.org/message-id/3A5E6B9B.2E45D429@bigpond.net.au

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: aa2@bigpond.net.au, tgl@sss.pgh.pa.us
  Subject: Re: Possible bug? WAS :Bad (null) varchar() external representation.
  In-Reply-To: <3A5E6B9B.2E45D429@bigpond.net.au>
  References: <3A5CA5FA.CBDF0513@bigpond.net.au> <3A5CB33B.A2D61F9B@bigpond.net.au> <12256.979240778@sss.pgh.pa.us> <3A5E6B9B.2E45D429@bigpond.net.au>

* 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