Re: Fwd: Proposal: variant of regclass
От | Robert Haas |
---|---|
Тема | Re: Fwd: Proposal: variant of regclass |
Дата | |
Msg-id | CA+TgmoY-O8yOcrrvCcWdkx9HGqWxPtUHwM4ry7bt3r-JHf=diw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Fwd: Proposal: variant of regclass (Amit Kapila <amit.kapila16@gmail.com>) |
Ответы |
Re: Fwd: Proposal: variant of regclass
|
Список | pgsql-hackers |
On Wed, Apr 2, 2014 at 1:41 AM, Amit Kapila <amit.kapila16@gmail.com> wrote: > On Mon, Mar 31, 2014 at 7:08 PM, Yugo Nagata <nagata@sraoss.co.jp> wrote: >> Hi Amit Kapila, >> >> Thank you for your reviewing. I updated the patch to v5. > > I have checked the latest version and found few minor improvements that > are required: > > 1. > ! if (!missing_ok) > ! ereport(ERROR, > ! (errcode(ERRCODE_UNDEFINED_OBJECT), > ! errmsg("type \"%s\" does not exist", > ! TypeNameToString(typeName)), > ! parser_errposition(NULL, typeName->location))); > > pfree(buf.data); seems to be missing in error cases. Eh, surely this is being done in some memory context that an error will reset anyway? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: