Re: [HACKERS] Typed hstore proposal

2011-12-22 Thread Johann 'Myrkraverk' Oskarsson
Andrew Dunstan writes: > On 12/22/2011 10:44 AM, Tom Lane wrote: >> "Johann 'Myrkraverk' Oskarsson" writes: >>> I mean to create a typed hstore, called tstore for now. >> Um ... what is the point of this, exactly? From what I've seen, >> most applications for hstore are pretty happy with the fac

Re: [HACKERS] Typed hstore proposal

2011-12-22 Thread Andrew Dunstan
On 12/22/2011 10:44 AM, Tom Lane wrote: "Johann 'Myrkraverk' Oskarsson" writes: I mean to create a typed hstore, called tstore for now. Um ... what is the point of this, exactly? From what I've seen, most applications for hstore are pretty happy with the fact that hstore is only weakly type

Re: [HACKERS] Typed hstore proposal

2011-12-22 Thread Benedikt Grundmann
On 22/12/11 10:44, Tom Lane wrote: > "Johann 'Myrkraverk' Oskarsson" writes: > > I mean to create a typed hstore, called tstore for now. > > Um ... what is the point of this, exactly? From what I've seen, most > applications for hstore are pretty happy with the fact that hstore is > only weakly

Re: [HACKERS] Typed hstore proposal

2011-12-22 Thread Tom Lane
"Johann 'Myrkraverk' Oskarsson" writes: > I mean to create a typed hstore, called tstore for now. Um ... what is the point of this, exactly? From what I've seen, most applications for hstore are pretty happy with the fact that hstore is only weakly typed, and if an entry *is* an integer, or a fl

Re: [HACKERS] Typed hstore proposal

2011-12-22 Thread Johann 'Myrkraverk' Oskarsson
Christopher Browne writes: > On Wed, Dec 21, 2011 at 8:32 PM, Johann 'Myrkraverk' Oskarsson > wrote: >> I mean to create a typed hstore, called tstore for now.  I'm open >> to name suggestions.  It'll only support a subset of core Postgres >> types to begin with.  Keys are always text, it's the

Re: [HACKERS] Typed hstore proposal

2011-12-21 Thread Christopher Browne
On Wed, Dec 21, 2011 at 8:32 PM, Johann 'Myrkraverk' Oskarsson wrote: > I mean to create a typed hstore, called tstore for now.  I'm open to > name suggestions.  It'll only support a subset of core Postgres types > to begin with.  Keys are always text, it's the value that's typed. Unfortunately,

[HACKERS] Typed hstore proposal

2011-12-21 Thread Johann 'Myrkraverk' Oskarsson
Hi all, I mean to create a typed hstore, called tstore for now. I'm open to name suggestions. It'll only support a subset of core Postgres types to begin with. Keys are always text, it's the value that's typed. Usage is very similar to hstore; this is not a complete reference. tstore( text,