mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Support unlogged tables.
The contents of an unlogged table are WAL-logged; thus, they are not available on standby servers and are truncated whenever the database system enters recovery. Indexes on unlogged tables are also unlogged. Unlogged GiST indexes are not currently supported.
This commit is contained in:
@ -2055,7 +2055,7 @@ looks_like_temp_rel_name(const char *name)
|
||||
/* We might have _forkname or .segment or both. */
|
||||
if (name[pos] == '_')
|
||||
{
|
||||
int forkchar = forkname_chars(&name[pos+1]);
|
||||
int forkchar = forkname_chars(&name[pos+1], NULL);
|
||||
if (forkchar <= 0)
|
||||
return false;
|
||||
pos += forkchar + 1;
|
||||
|
Reference in New Issue
Block a user