Re: Table with Field Serial - Problem

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Yostin Vargas <yostinv(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Table with Field Serial - Problem
Date: 2013-10-31 15:08:42
Message-ID: 5272727A.80708@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/31/2013 07:55 AM, Yostin Vargas wrote:
> My table is like this
>
> Column | Type | Modifiers
> ----------+-------------------__+-----------------------------__------------------------------__--
> id_fld | integer | not null default
> nextval('test_table_id_fld___seq'::regclass)

So you have a single field table, what is the purpose?

>
>
> im using Yii Framework, How i can Put VALUES (DEFAULT) if i put
> "DEFAULT" is like a string

That would seem to be a question for the Yii mailing list/forum.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yostin Vargas 2013-10-31 15:23:36 Re: Table with Field Serial - Problem
Previous Message Adam Brusselback 2013-10-31 15:02:03 Re: Explanantion on pgbouncer please