2002-03-26 20:17:02 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* namespace.h
|
|
|
|
* prototypes for functions in backend/catalog/namespace.c
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2002-03-30 02:02:42 +01:00
|
|
|
* $Id: namespace.h,v 1.3 2002/03/30 01:02:42 tgl Exp $
|
2002-03-26 20:17:02 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef NAMESPACE_H
|
|
|
|
#define NAMESPACE_H
|
|
|
|
|
|
|
|
#include "nodes/primnodes.h"
|
|
|
|
|
|
|
|
|
|
|
|
extern Oid RangeVarGetRelid(const RangeVar *relation, bool failOK);
|
|
|
|
|
|
|
|
extern Oid RangeVarGetCreationNamespace(const RangeVar *newRelation);
|
|
|
|
|
|
|
|
extern Oid RelnameGetRelid(const char *relname);
|
|
|
|
|
2002-03-30 02:02:42 +01:00
|
|
|
extern Oid TypenameGetTypid(const char *typname);
|
|
|
|
|
2002-03-29 20:06:29 +01:00
|
|
|
extern Oid QualifiedNameGetCreationNamespace(List *names, char **objname_p);
|
|
|
|
|
|
|
|
extern RangeVar *makeRangeVarFromNameList(List *names);
|
|
|
|
|
2002-03-26 20:17:02 +01:00
|
|
|
#endif /* NAMESPACE_H */
|