Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f4da06

Browse files
committed
pathman: headers
1 parent4bc7d78 commit5f4da06

File tree

9 files changed

+87
-0
lines changed

9 files changed

+87
-0
lines changed

‎contrib/pg_pathman/dsm_array.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* init.c
4+
*This module allocates large DSM segment to store arrays,
5+
*initializes it with block structure and provides functions to
6+
*allocate and free arrays
7+
*
8+
* Copyright (c) 2015-2016, Postgres Professional
9+
*
10+
* ------------------------------------------------------------------------
11+
*/
112
#include"pathman.h"
213
#include"storage/shmem.h"
314
#include"storage/dsm.h"

‎contrib/pg_pathman/hash.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* hash.sql
4+
* HASH partitioning functions
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
10+
111
/*
212
* Creates hash partitions for specified relation
313
*/

‎contrib/pg_pathman/init.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* init.c
4+
*Initialization functions
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
110
#include"pathman.h"
211
#include"miscadmin.h"
312
#include"executor/spi.h"

‎contrib/pg_pathman/init.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* init.sql
4+
* Creates config table and provides common utility functions
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
10+
111
/*
212
* Pathman config
313
* relname - schema qualified relation name

‎contrib/pg_pathman/pathman.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* pathman.h
4+
*structures and prototypes for pathman functions
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
110
#ifndefPATHMAN_H
211
#definePATHMAN_H
312

‎contrib/pg_pathman/pg_pathman.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* pg_pathman.c
4+
*This module sets planner hooks, handles SELECT queries and produces
5+
*paths for partitioned tables
6+
*
7+
* Copyright (c) 2015-2016, Postgres Professional
8+
*
9+
* ------------------------------------------------------------------------
10+
*/
111
#include"pathman.h"
212
#include"postgres.h"
313
#include"fmgr.h"

‎contrib/pg_pathman/pl_funcs.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* pl_funcs.c
4+
*Utility C functions for stored procedures
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
110
#include"pathman.h"
211
#include"utils/lsyscache.h"
312
#include"utils/typcache.h"

‎contrib/pg_pathman/range.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* range.sql
4+
* RANGE partitioning functions
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
10+
111
/*
212
* Creates RANGE partitions for specified relation based on datetime attribute
313
*/

‎contrib/pg_pathman/rangeset.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* ------------------------------------------------------------------------
2+
*
3+
* rangeset.c
4+
*Index range functions
5+
*
6+
* Copyright (c) 2015-2016, Postgres Professional
7+
*
8+
* ------------------------------------------------------------------------
9+
*/
110
#include"pathman.h"
211

312
/* Check if two ranges are intersecting */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp