このページを編集する際は、[[編集に関する方針]]に従ってください。
ページ名を
[[PGShmemHeader/ipc_test/postgresql-8.1.4]]
に変更しましたので、こちらを参照ください。

*概要 [#icfef94f]
-対象:8.1.4
-言語:C
-宣言・定義:[[postgresql-8.1.4/src/include/storage/pg_shmem.h]]

-下記メンバを持つ構造体型
--int32(signed intの別名)型の変数magic
--pid_t型の変数creatorPID
--Size(size_tの別名)型の変数totalsize
--Size(size_tの別名)型の変数freeoffset
--dev_t型の変数device
--ino_t型の変数inode

*実装 [#c1903737]

 typedef struct PGShmemHeader	/* standard header for all Postgres shmem */
 {
	int32		magic;			/* magic # to identify Postgres segments */
-[[int32/postgresql-8.1.4]] -- signed intの別名
 #define PGShmemMagic  679834893
	pid_t		creatorPID;		/* PID of creating process */
	Size		totalsize;		/* total size of segment */
-[[Size/postgresql-8.1.4]] -- size_tの別名

	Size		freeoffset;		/* offset to first free space */
-[[Size/postgresql-8.1.4]] -- size_tの別名

 #ifndef WIN32					/* Windows doesn't have useful inode#s */
	dev_t		device;			/* device data directory is on */
	ino_t		inode;			/* inode number of data directory   */
 #endif
 } PGShmemHeader;

*呼出元 [#zadaf2c4]

-[[MyStorage/postgresql-8.1.4]]

*備考 [#m5c56fec]

*履歴 [#a85a3262]
-作者:[[testnoda/ページ作者]]
-日付:2007/5/22
|更新日|更新者|更新内容|
||||

*コメント [#n65d83b0]
#comment


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS