blob: 204e93078ea16aa6a19a4b33477338cc04ea0390 [file] [log] [blame]
/*-------------------------------------------------------------------------
*
* dbdirnode.h
* Physical access information for database directories.
*
* Portions Copyright (c) 2009-2010, Greenplum inc
* Portions Copyright (c) 2012-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/include/storage/dbdirnode.h
*
*-------------------------------------------------------------------------
*/
#ifndef DBDIRNODE_H
#define DBDIRNODE_H
/*
* Represents a database directory within a tablespace.
*
* NOTE: This structure is the first 2 fields of a RelFileNode, so you can safely CAST.
*/
typedef struct DbDirNode
{
Oid tablespace;
Oid database;
} DbDirNode;
#endif /* DBDIRNODE_H */