Re: [GENERAL] Deleting unwanted wal files

2017-08-17 Thread Michael Paquier
On Fri, Aug 18, 2017 at 12:43 AM, krishna chaitanya wrote: > Thanks for your reply, Please do not top-post, this is not the style of this mailing list. > but will pg_basebackup generate a .backup file when > scheduled in cron job so that i can give that as input to pg_archivecleanup. Yes. > Al

Re: [GENERAL] Deleting unwanted wal files

2017-08-17 Thread krishna chaitanya
Thanks for your reply, but will pg_basebackup generate a .backup file when scheduled in cron job so that i can give that as input to pg_archivecleanup. Also if i give archive_cleanup_command in recovery.conf will it check the presence of recovery.conf file automatically and execute the command from

Re: [GENERAL] Deleting unwanted wal files

2017-08-17 Thread Michael Paquier
On Thu, Aug 17, 2017 at 8:06 PM, krish050591 wrote: > Hi, if i'm using pg_basebackup utility for taking my database backup and also > enabled wal level archiving, how will i detect the unwanted wal files and > how will it delete them ? Have you heard of pg_archivecleanup? Documentation is here: h

[GENERAL] Deleting unwanted wal files

2017-08-17 Thread krish050591
Hi, if i'm using pg_basebackup utility for taking my database backup and also enabled wal level archiving, how will i detect the unwanted wal files and how will it delete them ? -- View this message in context: http://www.postgresql-archive.org/Deleting-unwanted-wal-files-tp5978815.html Sent fr

Re: [GENERAL] Development of an extension for PostgreSQL and PostGIS

2017-08-17 Thread Fabiana Zioti
So far the code is like this(In addition to the input and output functions): struct trajectory_elem { int32 id; Timestamp time_obj; GSERIALIZED *geom_elem; /* Geometry Object */ }; PG_FUNCTION_INFO_V1(trajectory_elem); Datum trajectory_elem(PG_FUNCTION_ARGS) { int32 id = PG_GETA

Re: [GENERAL] Begginers question

2017-08-17 Thread Alex Samad
On 16 August 2017 at 20:55, Achilleas Mantzios wrote: > On 16/08/2017 13:46, Alex Samad wrote: > > > > On 16 August 2017 at 16:16, Michael Paquier > wrote: > >> On Wed, Aug 16, 2017 at 2:32 PM, Alex Samad wrote: >> > 1) why did it fill up this time and not previously >> > I add this >> > archiv