Search Postgresql Archives

Re: Moving from MySQL to PostgreSQL with Ruby on Rails.

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

 



On Thu, Nov 17, 2005 at 09:23:51 -0800,
  Robby Russell <robby.lists@xxxxxxxxxxxxxxx> wrote:
> 
> CREATE TABLE product (
>   id SERIAL PRIMARY KEY,
>   name VARCHAR(255) NOT NULL DEFAULT '',
> );

And depending on why you chose VARCHAR(255), you may really want to use TEXT
instead.

---------------------------(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