Re: PostgreSQL does CAST implicitely between int and a domain derived from int

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

 



Jean-Michel =?ISO-8859-1?Q?Pour=E9?= <jm@xxxxxxxxx> writes:
> What do you recommend: using normal types and moving constraints in the
> Drupal database? Is PostgreSQL domain broken as it forces casting or is
> this a no-op for performance?

In principle it should be an unnoticeable slowdown.  In the past we've
had some issues with the planner failing to recognize possible
optimizations when there was a cast in the way, but I'm not aware of
any such bugs at the moment.

			regards, tom lane

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

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux