Don't you have one END IF too many? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl
- [SQL] PL/pgSQL "compilation error" Tim Perdue
- Re: [SQL] PL/pgSQL "compilation error" Richard Huxton
- Re: [SQL] PL/pgSQL "compilation error" Bruce Momjian
- Re: [SQL] PL/pgSQL "compilation error" Tom Lane
- Re: [SQL] PL/pgSQL "compilation error" Josh Berkus
- Re: [SQL] PL/pgSQL "compilation error" Jan Wieck
- Re: [SQL] PL/pgSQL "compilation error" Tim Perdue
- Re: [SQL] PL/pgSQL "compilation error" Bruce Momjian
- Re: [SQL] PL/pgSQL "compilation error" Peter Eisentraut
- Re: [SQL] PL/pgSQL "compilation error" Bruce Momjian
- Re: [SQL] PL/pgSQL "compilation error" Richard H
- Re: [SQL] PL/pgSQL "compilation error" Bruce Momjian