Re: plpgsql_check_function - rebase for 9.3
| От | Andrew Dunstan |
|---|---|
| Тема | Re: plpgsql_check_function - rebase for 9.3 |
| Дата | |
| Msg-id | 5071A223.6030209@dunslane.net обсуждение |
| Ответ на | Re: plpgsql_check_function - rebase for 9.3 (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 10/07/2012 11:25 AM, Tom Lane wrote: > Selena Deckelmann <selena@chesnok.com> writes: >> This also represents my inaugural use of pg_bsd_indent. I ran it on >> pl_check.c - which made things mostly better. Happy to try and fix it >> up more if someone can explain to me what (if anything) I did >> incorrectly when using it. > It looks like you didn't give it a typedef list? Fetch the file from > http://buildfarm.postgresql.org/cgi-bin/typedefs.pl > and pass it with --typedefs=filename. If you're dealing with something > that adds new typedef names, you can add them to the list file manually. > > You's not supposed to be calling pg_bsd_indent directly at all. You's supposed to be calling pgindent - it will call pg_bsd_indent as needed and adjust the results. See src/tools/pgindent/README. cheers andrew
В списке pgsql-hackers по дате отправления: