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

pgsql-server: Clean up generation of default names for constraints,

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Clean up generation of default names for constraints,
Date: 2004-06-10 17:56:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committerspgsql-hackers
Log Message:
Clean up generation of default names for constraints, indexes, and serial
sequences, as per recent discussion.  All these names are now of the
form table_column_type, with digits added if needed to make them unique.
Default constraint names are chosen to be unique across their whole schema,
not just within the parent object, so as to be more SQL-spec-compatible
and make the information schema views more useful.

Modified Files:
        heap.c (r1.269 -> r1.270)
        pg_constraint.c (r1.19 -> r1.20)
        indexcmds.c (r1.120 -> r1.121)
        tablecmds.c (r1.112 -> r1.113)
        typecmds.c (r1.58 -> r1.59)
        analyze.c (r1.304 -> r1.305)
        pg_constraint.h (r1.10 -> r1.11)
        defrem.h (r1.56 -> r1.57)
        analyze.h (r1.26 -> r1.27)
        alter_table.out (r1.83 -> r1.84)
        cluster.out (r1.15 -> r1.16)
        copy2.out (r1.18 -> r1.19)
        domain.out (r1.30 -> r1.31)
        foreign_key.out (r1.34 -> r1.35)
        namespace.out (r1.1 -> r1.2)
        rules.out (r1.88 -> r1.89)
        sequence.out (r1.5 -> r1.6)
        truncate.out (r1.8 -> r1.9)
        constraints.source (r1.39 -> r1.40)
        copy2.sql (r1.9 -> r1.10)


pgsql-hackers by date

Next:From: Gaetano MendolaDate: 2004-06-10 18:05:19
Subject: Re: Improving postgresql.conf
Previous:From: Josh BerkusDate: 2004-06-10 17:41:55
Subject: Re: Frequently updated tables

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-06-10 18:02:37
Subject: pgsql-server: Use /B to start so a new window isn't created, per Andrew
Previous:From: Bruce MomjianDate: 2004-06-10 17:45:09
Subject: pgsql-server: Add START background code for another code path, per

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