Search Postgresql Archives

Re: select issue with order v8.1

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

 



On Fri, Feb 26, 2010 at 3:46 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
> Terry <td3201@xxxxxxxxx> writes:
>> I am somewhat confused.  My app is detecting it as a serial data type
>> but describing the table shows that its an integer.  What am I
>> missing?
>
>> dssystem=# \d clients_event_log
>>                                        Table "public.clients_event_log"
>>      Column     |          Type           |
>>  Modifiers
>> ----------------+-------------------------+-------------------------------------------------------------------
>>  ev_id          | integer                 | not null default
>> nextval('clients_event_log_ev_id_seq'::regclass)
>
> Nothing.  "Serial" is nothing but a shorthand for an integer column
> with a default like that.

And a dependency for the sequence on the column.  I wonder if Terry's
application is sorting through dep info to make a bad decision...

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


[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