CGWP

  • Home
  • Log in
  • « Records with question marks in the occupation field
  • Changes to Canonical Occupations April 28th »

Things to remember about PostgreSQL

Posted by gregster on 29 Apr 2016 in Activity log
I have a case where I want to be able to find '%string with spaces in it%'. In CAN use a REPLACE in my select, but performance apparently sucks. In Postgres you can create a functional index, though. So, I ran this: CREATE INDEX forename_lower_space ON persontest (REPLACE(lower(forename),' ','')); Works a treat.
This entry was posted by Greg and filed under Activity log.

CGWP

Development blog for next version of the Canadian Great War Project. The production site is at https://cgwp.uvic.ca/, and the development site is at https://cgwpdev.uvic.ca/ (access controlled)

Some sections of the development site are not explicitly linked via menus. See the post titled "CGWP development URLs" for details.
  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Discussion
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2026 by admin • Help • blog engine • best cheap web hosting