Re: pg_regress inputdir
От | Jorgen Austvik - Sun Norway |
---|---|
Тема | Re: pg_regress inputdir |
Дата | |
Msg-id | 48907F0D.5090401@sun.com обсуждение исходный текст |
Ответ на | Re: pg_regress inputdir (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: pg_regress inputdir
|
Список | pgsql-hackers |
Alvaro Herrera wrote: >> Today, using --inputdir in pg_regress does not work for any other value >> than something that resolves to cwd, since it will write a file to >> "./sql", but try to read the same file from "<inputdir>/sql". > > Maybe I'm missing something, but I don't see any reason why this is a > scenario worth supporting. What's the problem with cd'ing into the > directory containing the tests? I agree - cd or some symlinks to cover up that the --inputdir parameter does not work if you set it to anything except the default is a workaround. Do we also agree that if you set --inputdir to anything other than the default, pg_regress will not work (will write a file to one folder, and try to read the same file from another)? And if we agree above - should we make setting --inputdir work (read and write from/to same directory), remove the --inputdir parameter (since setting it to anything different from default value doesn't work), or keep it there (to confuse people)? -J -- Jørgen Austvik, Software Engineering - QA Sun Microsystems Database Group
Вложения
В списке pgsql-hackers по дате отправления: