pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: vernonw@gatewaytech.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Can I search for an array in csf?
Date: Tue, 22 Oct 2002 09:16:09 -0700
Message-ID: <web-1795262@davinci.ethosmedia.com> (raw)
In-Reply-To: <B7A563ONMH85KEVA6JIQ76UR4W7GE.3db4d771@kimiko>

Vernon,

> Thanks Josh, I will take a look at this book. 
> 
> The only problem with the implemention I can see so far is
> performance: change format when read/write data. Other 
> than that, I don't see a big problem. I, however, shall say the
> performance is important in my project. 

I'd think Java would be able to do array --> table and table --> array
very quickly.  Certainly, PHP and Perl do.

Also, you can use a custom aggregate to give yourself a comma-delimited
list from a subtable (see the article on custom aggregates at
techdocs.postgresql.org)   However, custom aggregates are slow and
Java's array-handling is probably faster.

-Josh Berkus



view thread (9+ messages)

Message-ID: <web-1795262@davinci.ethosmedia.com>
Permalink:  ../web-1795262@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-1795262@davinci.ethosmedia.com

 · 

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: josh@agliodbs.com, vernonw@gatewaytech.com
  Subject: Re: Can I search for an array in csf?
  In-Reply-To: <web-1795262@davinci.ethosmedia.com>

* 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