Re: cannot get stable function to use index

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Andy Colson <andy(at)squeakycode(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: cannot get stable function to use index
Date: 2015-12-31 17:00:21
Message-ID: 56855F25.1060703@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/30/15 2:12 PM, Andy Colson wrote:
>>
>> random_page_cost = 1
>>
>
> Humm, nope. I removed the config option, restart PG, then analyzed the
> search table:

FYI, you can set that inside any session, any time you want. What's in
postgresql.conf is just the default value.

(For that matter, you can also set a default for than on a specific
database, or a specific user, using ALTER DATABASE SET or ALTER USER SET.)
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message George Woodring 2015-12-31 19:29:37 SSL connection issue via perl
Previous Message Jim Nasby 2015-12-31 16:55:45 Re: Efficiently Triggering Autovacuum Analyze?