Skip site navigation (1) Skip section navigation (2)

pgAdmin III commit: Force typing the constraint name or the index name

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Force typing the constraint name or the index name
Date: 2010-11-23 11:21:12
Message-ID: 201011231121.oANBLC0j051297@gothos.postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Force typing the constraint name or the index name

Before this patch, the index name stays "fki_" without a constraint name. If
someone tries to create two foreign keys without typing a constraint name or
an index name, the second one will fail. So, we force typing either of them.

Report from Aren Cambre.

Fixes #289.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=ac23cf1407dce26ec15052acd285920de169b73d

Modified Files
--------------
CHANGELOG                     |    2 ++
pgadmin/dlg/dlgForeignKey.cpp |    3 +++
2 files changed, 5 insertions(+), 0 deletions(-)

pgadmin-hackers by date

Next:From: pgAdmin TracDate: 2010-11-23 11:23:19
Subject: Re: [pgAdmin III] #266: Unable to backup table when quotation marks used in the name
Previous:From: Guillaume LelargeDate: 2010-11-23 11:20:55
Subject: pgAdmin III commit: Force typing the constraint name or the index name

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group