Re: pgAdmin 4 - How to set auto increment primary key

From: Dave Page <dpage(at)pgadmin(dot)org>
To: killermouse <killermouse(at)gmail(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgAdmin 4 - How to set auto increment primary key
Date: 2016-09-23 09:48:07
Message-ID: CA+OCxoynK1Hacn2AbUWB6kAsg6BXTFwcWrnYq6B7mtihUyQTVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, Sep 23, 2016 at 10:41 AM, killermouse <killermouse(at)gmail(dot)com> wrote:
> How to set a auto increment primary key on pgAdmin 4?!

Add a column to your table, select of the serial data types, and flip
the Primary Key switch.

See the attached screenshot for an example.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
image/png 48.4 KB

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message killermouse 2016-09-23 10:02:07 Re: pgAdmin 4 - How to set auto increment primary key
Previous Message killermouse 2016-09-23 09:41:44 pgAdmin 4 - How to set auto increment primary key