pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: venkat <ven.tammineni@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Re: How to Convert Integer to Serial
Date: Fri, 29 Oct 2010 10:28:24 +0530
Message-ID: <AANLkTim-ZxOQStJenijn2UgMomM__PoFYKMrUzFeyE5x@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimArej9_0ko8piTWsoW9mrsdwOUKJs2cNyLTEuf@mail.gmail.com>
References: <AANLkTimArej9_0ko8piTWsoW9mrsdwOUKJs2cNyLTEuf@mail.gmail.com>

Dear All,

  I got the solution... Here is my query

ALTER TABLE DemoTable  ALTER gid TYPE INT2;

Thanks again....


On Fri, Oct 29, 2010 at 10:18 AM, venkat <ven.tammineni@gmail.com> wrote:

> Dear All,
>
>   I want to convert integer datatype to serial datatype.. is that
> possible.Please let me know.
>
> Thanks and Regards,
>
> Ven
>

view thread (8+ messages)  latest in thread

Message-ID: <AANLkTim-ZxOQStJenijn2UgMomM__PoFYKMrUzFeyE5x@mail.gmail.com>
Permalink:  ../AANLkTim-ZxOQStJenijn2UgMomM__PoFYKMrUzFeyE5x@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTim-ZxOQStJenijn2UgMomM__PoFYKMrUzFeyE5x@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ven.tammineni@gmail.com, pgsql-general@postgresql.org
  Subject: Re: How to Convert Integer to Serial
  In-Reply-To: <AANLkTim-ZxOQStJenijn2UgMomM__PoFYKMrUzFeyE5x@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox