DB & Schema - Mailing list pgsql-hackers

From md@rpzdesign.com
Subject DB & Schema
Date
Msg-id 505C80A8.9080507@rpzdesign.com
Whole thread Raw
Responses Re: DB & Schema  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
During the execution of ProcessUtility() function in 
/src/backend/xxx/utility.c,

the CreateStmt node type is processed to create a table.

Is there a global function in the context of the backend process that 
will deliver what the current database and schema names?

The querystring cannot be relied upon for discerning this information.

marco



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Properly set relpersistence for fake relcache entries.
Next
From: Heikki Linnakangas
Date:
Subject: Re: [WIP] Patch : Change pg_ident.conf parsing to be the same as pg_hba.conf