what is the difference between default 0 vs default '0' - Mailing list pgsql-sql

From Beth Gatewood
Subject what is the difference between default 0 vs default '0'
Date
Msg-id 000c01c21cab$c2f35ef0$6901a8c0@bethvizx
Whole thread Raw
List pgsql-sql
all-
Could somebody tell me why I would use default 0 vs default '0' in the
following....
CREATE TABLE foo (col1 INTEGER default 0) <-- or default '0'

Thanks-
Beth





pgsql-sql by date:

Previous
From: Roberto Mello
Date:
Subject: PostgreSQL Cookbook update
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: what is the difference between default 0 vs default '0'