pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sébastien Lorion <sl@thestrangefactory.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: M Putz <puma@c007.de>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Strange performance boost with random()
Date: Tue, 11 Feb 2014 10:37:47 -0500
Message-ID: <19895.1392133067@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGa5y0MNo7r3HdnZMTa+a+W+d14kbRNO-+REyYSMRd9q_XHw1g@mail.gmail.com>
References: <E1WCttM-0006Np-Nj@malur.postgresql.org>
	<alpine.DEB.2.02.1402102007580.14849@skaj>
	<52F93098.2090002@vmware.com>
	<CAGa5y0MNo7r3HdnZMTa+a+W+d14kbRNO-+REyYSMRd9q_XHw1g@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

=?UTF-8?Q?S=C3=A9bastien_Lorion?= <sl@thestrangefactory.com> writes:
> That's interesting .. Does PostgreSQL always use the NUMERIC data type for
> constants in absence of cast ?

If they're not integers, yes, that's the initial assumption.

			regards, tom lane


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (4+ messages)

Message-ID: <19895.1392133067@sss.pgh.pa.us>
Permalink:  ../19895.1392133067@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19895.1392133067@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sl@thestrangefactory.com, hlinnakangas@vmware.com, puma@c007.de
  Subject: Re: Strange performance boost with random()
  In-Reply-To: <19895.1392133067@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox