Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...
Date: 2003-05-22 05:37:43
Message-ID: 200305220537.h4M5bhi16427@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I am seeing a compile failure in variable.c because it references
> > timezone, but I only have struct tm on BSD/OS.
>
> Hm. Shouldn't TIMEZONE_GLOBAL expand to something that exists
> everywhere? What exact error are you getting?

I am getting:

gcc -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -O1 -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wcast-align -I../../../src/include -I/usr/local/include/readline -I/usr/contrib/include -c -o variable.o variable.c
variable.c: In function `tzset_succeeded':
variable.c:328: `tzname' undeclared (first use in this function)
variable.c:328: (Each undeclared identifier is reported only once
variable.c:328: for each function it appears in.)
gmake: *** [variable.o] Error 1

It is tzname. Sorry, I said timezone, but I meant timezone name.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2003-05-22 07:58:46 pgsql-server/src/interfaces/ecpg ChangeLog pre ...
Previous Message Tom Lane 2003-05-22 05:24:37 Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...

Browse pgsql-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2003-05-22 08:38:19 Tetra-bytes database / large indexes needs
Previous Message Alvaro Herrera 2003-05-22 05:33:06 Re: [GENERAL] ERROR: Memory exhausted in AllocSetAlloc(188)