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

From Thomas Lockhart
Subject Re: [HACKERS] psql vs. gcc
Date
Msg-id [email protected]
Whole thread Raw
In response to psql vs. gcc  (Karel Zak - Zakkr <[email protected]>)
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                [email protected]
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