Re: Quick question

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Quick question
Date: 2001-11-13 17:33:15
Message-ID: 200111131733.fADHXFB23825@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 13 Nov 2001 at 18:00 (+0800), Christopher Kings-Lynne wrote:
> | Could someone please give me a quick tip as to where in the source code the
> | bit that auto-generates sequence names is?
>
> I used cscope (http://cscope.sourceforge.net/) and did a text search
> for 'implicit sequence'. A bit of backtracking from there led me to
> src/backend/parser/anaylyz.c:783
> sname = makeObjectName(cxt->relname, column->colname, "seq");
>
> That function is in the same file, and has some comments related to
> name collision above it. I believe this is where you'll want to work.

I think we handled this. Have you tried 7.2 beta2?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2001-11-13 17:41:04 Re: fts.postgresql.org problem ! still no routing
Previous Message Greg Sabino Mullane 2001-11-13 16:45:26 Detailed index predicate with \d on indexes in psql