Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Inserting Hash Information Into MySQL (PostgreSQL's hstore)

by erix (Vicar)
on Jun 23, 2012 at 21:40 UTC ( #978017=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        select * from t where hs ? 'x';
    
  2. or download this
    $ pg_sql/pgsql.HEAD/hstore/create_hstore.sh
     rowcount |  size
    ...
    Time: 0.295 ms
    Time: 0.245 ms
    Time: 0.274 ms
    
  3. or download this
    #!/bin/sh
    
    ...
    select * from $t where hs ? '$v';
    select * from $t where hs ? '$v';" \
      | psql -q | grep -E '^Time:'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2014-10-21 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (107 votes), past polls