Zdenek Kotala wrote:
> I looked on it, but I think let parser to fill namespace information in
> ctx->relation structure should be better then do it in this place. There
> is also unfilled istemp flag.
Ignore this. It is good place.
However, I think add following function into namespace.c
should be nicer solution.
Oid RelnameGetSchemaid(const char *relname);
You can use
snamespaceid = RelnameGetSchemaid(cxt->relation->relname);
snamespaceid = RangeVarGetCreationNamespace(cxt->relation);
In response to
pgsql-bugs by date
|Next:||From: Tom Lane||Date: 2007-06-22 15:12:08|
|Subject: Re: Temp table woes |
|Previous:||From: Gregory Stark||Date: 2007-06-22 13:22:53|
|Subject: Re: Error message that is a bit misleading / weird result from <xid> || null|