Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Backslash and Underscore problem with DBI and PostgreSQL.

by ctilmes (Vicar)
on Jun 21, 2004 at 11:44 UTC ( #368413=note: print w/replies, xml ) Need Help??


in reply to Re^3: Backslash and Underscore problem with DBI and PostgreSQL.
in thread Backslash and Underscore problem with DBI and PostgreSQL.

This may or may not be fast - it depends on how the query engine runs, and whether the optimizer can use an index when you apply a function on a column.

Probably premature optimization unless there are a lot of users, but PostgreSQL support indexes on expressions:
http://www.postgresql.org/docs/7.4/interactive/indexes-expressional.html.

As always, "explain" can be used to examine the optimizer's query plan.

  • Comment on Re^4: Backslash and Underscore problem with DBI and PostgreSQL.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://368413]
help
Chatterbox?
[ambrus]: 1nickt: the tea didn't have sugar or honey or lemon or milk. or even caffeine in a significant quantity. it's really "colored water", warm water with some fruit smell to make it more pleasant than ordinary warm water.
[ambrus]: 1nickt: in theory, it shouldn't hurt the electronics, but also could temporarily cause problems until it dries, and the inside of the keyboard doesn't dry quickly, because it's closed.
[ambrus]: 1nickt: that's the theory. the theory is also that it should have dried by Sunday morning, but it didn't. so I dunno.
[ambrus]: I'll try today evening if it works now.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-11-21 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (302 votes). Check out past polls.

    Notices?