mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
@ -859,7 +859,7 @@ static bool InstallXLogFileSegment(XLogSegNo *segno, char *tmppath,
|
||||
bool find_free, XLogSegNo max_segno,
|
||||
bool use_lock);
|
||||
static int XLogFileRead(XLogSegNo segno, int emode, TimeLineID tli,
|
||||
int source, bool notexistOk);
|
||||
int source, bool notfoundOk);
|
||||
static int XLogFileReadAnyTLI(XLogSegNo segno, int emode, int source);
|
||||
static int XLogPageRead(XLogReaderState *xlogreader, XLogRecPtr targetPagePtr,
|
||||
int reqLen, XLogRecPtr targetRecPtr, char *readBuf,
|
||||
|
@ -486,7 +486,7 @@ static void agg_fill_hash_table(AggState *aggstate);
|
||||
static TupleTableSlot *agg_retrieve_hash_table(AggState *aggstate);
|
||||
static Datum GetAggInitVal(Datum textInitVal, Oid transtype);
|
||||
static void build_pertrans_for_aggref(AggStatePerTrans pertrans,
|
||||
AggState *aggsate, EState *estate,
|
||||
AggState *aggstate, EState *estate,
|
||||
Aggref *aggref, Oid aggtransfn, Oid aggtranstype,
|
||||
Oid aggserialfn, Oid aggdeserialfn,
|
||||
Datum initValue, bool initValueIsNull,
|
||||
|
@ -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
|
||||
|
@ -575,7 +575,7 @@ check_relation_updatable(LogicalRepRelMapEntry *rel)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("logical replication target relation \"%s.%s\" has "
|
||||
"neither REPLICA IDENTIY index nor PRIMARY "
|
||||
"neither REPLICA IDENTITY index nor PRIMARY "
|
||||
"KEY and published relation does not have "
|
||||
"REPLICA IDENTITY FULL",
|
||||
rel->remoterel.nspname, rel->remoterel.relname)));
|
||||
|
@ -321,7 +321,7 @@ GetReplicationApplyDelay(void)
|
||||
long secs;
|
||||
int usecs;
|
||||
|
||||
TimestampTz chunckReplayStartTime;
|
||||
TimestampTz chunkReplayStartTime;
|
||||
|
||||
SpinLockAcquire(&walrcv->mutex);
|
||||
receivePtr = walrcv->receivedUpto;
|
||||
@ -332,12 +332,12 @@ GetReplicationApplyDelay(void)
|
||||
if (receivePtr == replayPtr)
|
||||
return 0;
|
||||
|
||||
chunckReplayStartTime = GetCurrentChunkReplayStartTime();
|
||||
chunkReplayStartTime = GetCurrentChunkReplayStartTime();
|
||||
|
||||
if (chunckReplayStartTime == 0)
|
||||
if (chunkReplayStartTime == 0)
|
||||
return -1;
|
||||
|
||||
TimestampDifference(chunckReplayStartTime,
|
||||
TimestampDifference(chunkReplayStartTime,
|
||||
GetCurrentTimestamp(),
|
||||
&secs, &usecs);
|
||||
|
||||
|
@ -29,7 +29,7 @@ $node->command_fails(['pg_recvlogical', '-S', 'test'],
|
||||
$node->command_fails(['pg_recvlogical', '-S', 'test', '-d', 'postgres'],
|
||||
'pg_recvlogical needs an action');
|
||||
$node->command_fails(['pg_recvlogical', '-S', 'test', '-d', $node->connstr('postgres'), '--start'],
|
||||
'no destionation file');
|
||||
'no destination file');
|
||||
|
||||
$node->command_ok(['pg_recvlogical', '-S', 'test', '-d', $node->connstr('postgres'), '--create-slot'],
|
||||
'slot created');
|
||||
|
@ -288,7 +288,7 @@ extern const RmgrData RmgrTable[];
|
||||
* Exported to support xlog switching from checkpointer
|
||||
*/
|
||||
extern pg_time_t GetLastSegSwitchData(XLogRecPtr *lastSwitchLSN);
|
||||
extern XLogRecPtr RequestXLogSwitch(bool mark_uninmportant);
|
||||
extern XLogRecPtr RequestXLogSwitch(bool mark_unimportant);
|
||||
|
||||
extern void GetOldestRestartPoint(XLogRecPtr *oldrecptr, TimeLineID *oldtli);
|
||||
|
||||
|
@ -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__)" == ""
|
||||
|
@ -568,10 +568,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');
|
||||
|
@ -186,5 +186,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