Re: PostgreSQL vs mySQL, any performance difference for

From: "Wes Williams" <wes_williams(at)fcbonline(dot)net>
To: "'Scott Marlowe'" <smarlowe(at)g2switchworks(dot)com>, "'Jan'" <janoleolsen(at)hotmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL vs mySQL, any performance difference for
Date: 2005-10-25 18:52:17
Message-ID: 005401c5d995$3959ad20$326400bd@fcb.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

For what it may be worth, executing the same commands into MySQL
5.0.15-nt-max (Win XP Pro) the following it received:

mysql> create table test (i1 int);
Query OK, 0 rows affected (0.41 sec)

mysql> insert into test values (123913284723498723423);
ERROR 1264 (22003): Out of range value adjusted for column (i1) at row 1

mysql> select * from test;
Empty set (0.03 sec)

Finally an improvement!

============================================================
-----Original Message-----
mysql> create table test (i1 int);
Query OK, 0 rows affected (0.07 sec)

mysql> insert into test values (123913284723498723423);
Query OK, 1 row affected, 2 warnings (0.07 sec)

mysql> select * from test;
+------------+
| i1 |
+------------+
| 2147483647 |
+------------+
1 row in set (0.00 sec)

And other fun things.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-10-25 19:10:21 Re: Select all invalid e-mail addresses
Previous Message Andrus 2005-10-25 18:42:12 alt+F not working after calling pg_dump