Re: [HACKERS] psql vs. gcc - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] psql vs. gcc
Date
Msg-id 385A4C6C.DEB4EA29@alumni.caltech.edu
Whole thread Raw
In response to psql vs. gcc  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
Responses Re: [HACKERS] psql vs. gcc
List 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@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Karel Zak - Zakkr
Date:
Subject: psql vs. gcc
Next
From: Karel Zak - Zakkr
Date:
Subject: bug in Debian's pgaccess package