Re: [HACKERS] psql vs. gcc

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] psql vs. gcc
Date: 1999-12-17 14:45:00
Message-ID: 385A4C6C.DEB4EA29@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

  • psql vs. gcc at 1999-12-17 14:11:22 from Karel Zak - Zakkr

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-12-17 15:37:49 INITDB doesn't create views
Previous Message Karel Zak - Zakkr 1999-12-17 14:28:42 bug in Debian's pgaccess package