questions about the logical decoding implementation

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>
Subject: questions about the logical decoding implementation
Date: 2018-08-15 19:04:12
Message-ID: CAMp0ubd_P8vBGx8=MfDXQJZxHA5D_Zarw5cCkDxJ_63+pWRJ9w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

1. Why do the files holding the spilled transaction data in reorderbuffer.c
have a ".snap" suffix?

2. Those files can get quite large. Would it be reasonable to store them in
another directory (e.g. pg_replslot_tmp) so that they can be placed on
another mount point? It would also simplify the cleanup code.

3. Why are the files in pg_logical/snapshots (which also have a ".snap"
extension) stored on disk at all? If I remove them and restart, they get
recreated during decoding. The code adds a fair amount of complexity so I
assume there's an important reason.

Regards,
Jeff Davis

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2018-08-15 19:17:22 Re: Facility for detecting insecure object naming
Previous Message Andrew Dunstan 2018-08-15 18:59:46 Re: C99 compliance for src/port/snprintf.c