> -----Original Message-----
> From: Hiroshi Saito [mailto:saito@inetrt.skcapi.co.jp]
> Sent: 06 October 2005 07:37
> To: Dave Page
> Cc: pgadmin-hackers@postgresql.org
> Subject: strange question of pgadmin-tool.
>
> Hi Dave.
>
> I have the problem which is wavering with the release of 8.0.4.
> Probably, this version of pgadmin-tool which we are holding will
> be standard. However, The parameter of ParseDateTime changed.
>
> Anyway, guidance will be required.
Sorry Hiroshi - that's on my list to find a permanent fix. We need some
way to do something like:
#ifdef PG_8_0_4_OR_ABOVE
if (ParseDateTime(values[0], lowstr, sizeof(lowstr), field,
ftype, MAXDATEFIELDS, &nf))
#else
if (ParseDateTime(values[0], lowstr, field, ftype,
MAXDATEFIELDS, &nf))
#endif
In the meantime though, your patch is exactly what I did for 8.0.4 :-)
Regards, Dave