• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wonder, pgSQL and arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder, pgSQL and arrays


  • Subject: Re: Wonder, pgSQL and arrays
  • From: Giorgio Valoti <email@hidden>
  • Date: Tue, 13 Sep 2005 08:53:50 +0200


On 12/set/05, at 15:03, Arturo Perez wrote:

Giorgio Valoti wrote:

On 12/set/05, at 02:45, Arturo Pérez wrote:

Hi folx,

I see the Wonder plugin for Postgresql does something with arrays. What exactly is the support given for pgSQL array types?

It allows you to assign as an external type something like: 'int2 []', i.e. an array of small integers.
However, you need a custom data type if you want to create fetch specs that can retrieve all EOs whose,say, the second element of the array attribute is 2 and so on.
Hope this helps
--
Giorgio Valoti
--------------



Hi Giorgio,

Any suggestions on how to write such a custom data type? AFAIK, custom data types can only receive a String, an NSData or a byte array. I would not like to have to parse a String to get the data out again...

I haven't found another way.




-- Giorgio Valoti --------------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Wonder, pgSQL and arrays (From: Arturo Pérez <email@hidden>)
 >Re: Wonder, pgSQL and arrays (From: Giorgio Valoti <email@hidden>)
 >Re: Wonder, pgSQL and arrays (From: Arturo Perez <email@hidden>)

  • Prev by Date: EO using Pervasive   PSQL   v9 (second and last posting)
  • Next by Date: Re: AW: Apple, any slight update or estimation on WO 5.3.1, Please ??
  • Previous by thread: Re: Wonder, pgSQL and arrays
  • Next by thread: EO using Pervasive   PSQL   v9
  • Index(es):
    • Date
    • Thread