File tree Expand file tree Collapse file tree 20 files changed +118
-95
lines changed Expand file tree Collapse file tree 20 files changed +118
-95
lines changed Original file line number Diff line number Diff line change 1
- Copyright (c) 2008-2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2
- All rights reserved.
1
+ Copyright (c) 2009-2010, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
2
+
3
+ Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
4
+ Portions Copyright (c) 1994, The Regents of the University of California
3
5
4
6
Redistribution and use in source and binary forms, with or without
5
7
modification, are permitted provided that the following conditions are met:
Original file line number Diff line number Diff line change 2
2
*
3
3
* backup.c: backup DB cluster, archived WAL, serverlog.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* catalog.c: backup catalog opration
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
@@ -430,7 +430,7 @@ catalog_read_ini(const char *path)
430
430
{ 0 }
431
431
};
432
432
433
- backup = (pgBackup * ) pgut_malloc ( sizeof ( * backup ) );
433
+ backup = pgut_new (pgBackup );
434
434
catalog_init_config (backup );
435
435
436
436
i = 0 ;
Original file line number Diff line number Diff line change 2
2
*
3
3
* data.c: compress / uncompress data pages
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* delete.c: delete backup files.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* dir.c: directory operation utility.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* init.c: manage backup catalog.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* parray.c: pointer array collection.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
@@ -24,7 +24,7 @@ struct parray
24
24
parray *
25
25
parray_new (void )
26
26
{
27
- parray * a = pgut_malloc ( sizeof ( parray ) );
27
+ parray * a = pgut_new ( parray );
28
28
29
29
a -> data = NULL ;
30
30
a -> used = 0 ;
Original file line number Diff line number Diff line change 2
2
*
3
3
* parray.h: pointer array collection.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* pg_rman.c: Backup/Recovery manager for PostgreSQL.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* pg_rman.h: Backup/Recovery manager for PostgreSQL.
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* pgut-port.c
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
Original file line number Diff line number Diff line change 2
2
*
3
3
* pgut-port.h
4
4
*
5
- * Copyright (c) 2009, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5
+ * Copyright (c) 2009-2010 , NIPPON TELEGRAPH AND TELEPHONE CORPORATION
6
6
*
7
7
*-------------------------------------------------------------------------
8
8
*/
You can’t perform that action at this time.
0 commit comments