Re: [PATCHES] Another VPATH patch for ecpg
| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] Another VPATH patch for ecpg |
| Дата | |
| Msg-id | 5723.1156781800@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCHES] Another VPATH patch for ecpg (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: [PATCHES] Another VPATH patch for ecpg
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> Done. New machine is 'bustard'. But I couldn't get Alvaro's patch nor
> Peter's suggestion to work :-( Maybe someone with more vpath-fu than me
> can fix it.
I got it to build fairly easily, but the ecpg regression tests are a mess.
After some fooling around, I'm down to diffs like these in the
preprocessor output files:
116c116
< #line 36 "show.pgc"
---
> #line 36 "/home/tgl/pgsql/src/interfaces/ecpg/test/sql/show.pgc"
119c119
< #line 36 "show.pgc"
---
> #line 36 "/home/tgl/pgsql/src/interfaces/ecpg/test/sql/show.pgc"
122c122
< #line 36 "show.pgc"
---
> #line 36 "/home/tgl/pgsql/src/interfaces/ecpg/test/sql/show.pgc"
AFAICS there is no very good way to deal with this. I'd suggest
providing a way to suppress #line output from the ecpg preprocessor,
but perhaps there is another answer.
regards, tom lane
В списке pgsql-hackers по дате отправления: