Re: [HACKERS] psql vs. gcc
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] psql vs. gcc |
Дата | |
Msg-id | 199912171743.MAA17046@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] psql vs. gcc (Thomas Lockhart <lockhart@alumni.caltech.edu>) |
Список | pgsql-hackers |
I accidentally rejected the proper fix for this yesterday because there was no description about what it was supposed to fix. Let me see if I can get it now. > > If I compile current source, gcc (2.95.2) return interesting error for > > pgsql/describe.c. > > The gcc return error for next lines: > > strcpy(buf, > > "SELECT pg_database.datname as \"Database\",\n" > > " pg_user.usename as \"Owner\"" > > #ifdef MULTIBYTE > > ",\n pg_database.encoding as \"Encoding\"" > > #endif > > ); > > I'm sure we would accept a patch that changed this into a > > strcpy() > #ifdef MULTIBYTE > strcat() > #endif > > sequence rather than this monolithic line. > > - Thomas > > -- > Thomas Lockhart lockhart@alumni.caltech.edu > South Pasadena, California > > ************ > -- Bruce Momjian | http://www.op.net/~candle maillist@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 по дате отправления: