Re: [HACKERS] struct index - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] struct index
Date
Msg-id 199808191442.KAA22904@candle.pha.pa.us
Whole thread Raw
In response to struct index  ("Dr. Michael Meskes" <meskes@online-club.de>)
List pgsql-hackers
> Is there a reason why anyone renamed struct index to
> struct RelationGetRelidindex in ecpg's type.h? I'm surprised it doesn't
> break the ecpg compilation procedure since the usage in preproc.y hasn't
> been changed at all.
>
> I just checked and found that is does indeed break ecpg compilation. I just
> didn't notice because ecpg isn't compiled per default. Any reason why it
> isn't?
>
> Michael

Sorry.  I am fixing it now.  I am not sure how that got changed, but I
clearly did it:

---------------------------------------------------------------------------

    *** type.h      1998/05/26 13:43:55     1.10
    --- type.h      1998/08/19 01:33:47
    ***************
    *** 75,81 ****
            char            *str;
      };

    ! struct index
      {
          int index1;
          int index2;
    --- 75,81 ----
            char            *str;
      };

    ! struct RelationGetRelidindex
      {
          int index1;
          int index2;


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] initb won't work
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] struct index