Search Postgresql Archives

Re: Some frustrations with admin tasks on PGSQL database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/08/07, hubert depesz lubaczewski <depesz@xxxxxxxxxx> wrote:
> On Fri, Aug 17, 2007 at 10:22:55PM +0800, Phoenix Kiula wrote:
> > Wow, smartest advice of the day! Yes, a lot of our data in that column
> > has dots and numbers (800,000 compared to 6 million), so I wanted to
> > get only to the stuff that was pure alphabets, but just didn't think
> > of how.
>
> what i really meant was: check how many record will actually be modified
> - i.e. contain upper-case letters.
>
> the fact that some records contain only dots and digits is nice, but i
> suspect that you also have a lot of record with only lower-case letters
> in the field. or am i wrong?
>



You guessed it right. The query makes perfect sense. Only update those
records that have uppercase, and therefore require updating! Many
thanks.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux