Re: Quick question
От | Bruce Momjian |
---|---|
Тема | Re: Quick question |
Дата | |
Msg-id | 200111131733.fADHXFB23825@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Quick question (Brent Verner <brent@rcfile.org>) |
Ответы |
Re: Quick question
Re: Quick question |
Список | 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@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: