Re: Problems with recent CVS versions and Solaris. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problems with recent CVS versions and Solaris.
Date
Msg-id 28940.959903589@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with recent CVS versions and Solaris.  (Keith Parks <emkxp01@mtcc.demon.co.uk>)
Responses Re: Problems with recent CVS versions and Solaris.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Problems with recent CVS versions and Solaris.  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Keith Parks <emkxp01@mtcc.demon.co.uk> writes:
> Running Gen_fmgrtab.sh with a "set -x" shows:-

> const FmgrBuiltin fmgr_builtins[] = {
> + awk { printf ("  { %d, \"%s\", %d, %s, %s, %s },\n"), \
>         $1, $(NF-1), $9, \
>         ($8 == "t") ? "true" : "false", \
>         ($4 == "11") ? "true" : "false", \
>         $(NF-1) } fmgr.raw 
> awk: syntax error near line 3
> awk: illegal statement near line 3

Ugh.  I think that the former version of the script didn't use
conditional expressions (a ? b : c).  Perhaps old versions of
awk don't have those?  If so we can probably work around it...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: disbursion
Next
From: Bruce Momjian
Date:
Subject: disbursion again