Skip site navigation (1) Skip section navigation (2)

Re: Polymorphic arguments and composite types

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Polymorphic arguments and composite types
Date: 2007-10-05 17:04:54
Message-ID: 1191603894.4223.388.camel@ebony.site (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, 2007-10-05 at 09:46 -0700, Jeff Davis wrote:
> On Fri, 2007-10-05 at 12:29 -0400, Tom Lane wrote:

> > The one-element-array trick seems a bit awkward though.  I wonder
> > why we don't have an "anyelement <@ anyarray" kind of operator... 
> 
> I thought we did -- until I decided to test my example in psql before
> hitting "send". It certainly makes sense to me that we should have it.

It does make sense to have one.

(Thanks for the additional examples, guys).

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2007-10-05 17:14:45
Subject: Re: Polymorphic arguments and composite types
Previous:From: Jeff DavisDate: 2007-10-05 16:46:34
Subject: Re: Polymorphic arguments and composite types

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group