mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
@@ -684,7 +684,7 @@ static bool InstallXLogFileSegment(uint32 *log, uint32 *seg, char *tmppath,
|
||||
bool find_free, int *max_advance,
|
||||
bool use_lock);
|
||||
static int XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli,
|
||||
int source, bool notexistOk);
|
||||
int source, bool notfoundOk);
|
||||
static int XLogFileReadAnyTLI(uint32 log, uint32 seg, int emode,
|
||||
int sources);
|
||||
static bool XLogPageRead(XLogRecPtr *RecPtr, int emode, bool fetching_ckpt,
|
||||
|
@@ -458,7 +458,7 @@ edge_failure(PlannerInfo *root, Gene *gene, int index, Edge *edge_table, int num
|
||||
if (edge_table[i].unused_edges >= 0)
|
||||
return (Gene) i;
|
||||
|
||||
elog(LOG, "no edge found via looking for the last ununsed point");
|
||||
elog(LOG, "no edge found via looking for the last unused point");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -124,7 +124,7 @@ char *
|
||||
pg_dlerror(void)
|
||||
{
|
||||
#ifndef HAVE_DLD_H
|
||||
return "dynaloader unspported";
|
||||
return "dynaloader unsupported";
|
||||
#else
|
||||
return dld_strerror(dld_errno);
|
||||
#endif
|
||||
|
@@ -256,7 +256,7 @@ GetReplicationApplyDelay(void)
|
||||
long secs;
|
||||
int usecs;
|
||||
|
||||
TimestampTz chunckReplayStartTime;
|
||||
TimestampTz chunkReplayStartTime;
|
||||
|
||||
SpinLockAcquire(&walrcv->mutex);
|
||||
receivePtr = walrcv->receivedUpto;
|
||||
@@ -267,12 +267,12 @@ GetReplicationApplyDelay(void)
|
||||
if (XLByteEQ(receivePtr, replayPtr))
|
||||
return 0;
|
||||
|
||||
chunckReplayStartTime = GetCurrentChunkReplayStartTime();
|
||||
chunkReplayStartTime = GetCurrentChunkReplayStartTime();
|
||||
|
||||
if (chunckReplayStartTime == 0)
|
||||
if (chunkReplayStartTime == 0)
|
||||
return -1;
|
||||
|
||||
TimestampDifference(chunckReplayStartTime,
|
||||
TimestampDifference(chunkReplayStartTime,
|
||||
GetCurrentTimestamp(),
|
||||
&secs, &usecs);
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
!IF "$(BCB)" == ""
|
||||
!MESSAGE You must edit bcc32.mak and define BCB at the top
|
||||
!ERROR misssing BCB
|
||||
!ERROR missing BCB
|
||||
!ENDIF
|
||||
|
||||
!IF "$(__NMAKE__)" == ""
|
||||
|
@@ -322,10 +322,10 @@ SELECT to_tsvector('thesaurus_tst', 'one postgres one two one two three one');
|
||||
'1':1,5 '12':3 '123':4 'pgsql':2
|
||||
(1 row)
|
||||
|
||||
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbrevation SN)');
|
||||
to_tsvector
|
||||
-------------------------------------------------------------
|
||||
'abbrev':10 'call':8 'new':4 'sn':1,9,11 'star':5 'usual':7
|
||||
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbreviation SN)');
|
||||
to_tsvector
|
||||
--------------------------------------------------------------
|
||||
'abbrevi':10 'call':8 'new':4 'sn':1,9,11 'star':5 'usual':7
|
||||
(1 row)
|
||||
|
||||
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
|
||||
|
@@ -119,5 +119,5 @@ ALTER TEXT SEARCH CONFIGURATION thesaurus_tst ALTER MAPPING FOR
|
||||
WITH synonym, thesaurus, english_stem;
|
||||
|
||||
SELECT to_tsvector('thesaurus_tst', 'one postgres one two one two three one');
|
||||
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbrevation SN)');
|
||||
SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usually called supernovae (abbreviation SN)');
|
||||
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
|
||||
|
Reference in New Issue
Block a user