Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by ctilmes (Priest)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-07-31 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls