Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-12-27 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls