1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fix some portability issues (reliance on gcc-isms).

This commit is contained in:
Tom Lane
2004-04-01 23:44:38 +00:00
parent 51d1a12ed1
commit 47fe0517fc
7 changed files with 46 additions and 17 deletions

View File

@ -433,8 +433,10 @@ Cover(DocRepresentation * doc, int len, QUERYTYPE * query, int *pos, int *p, int
if (*p <= *q)
{
ChkDocR ch = {f, (doc + lastpos) - f + 1};
ChkDocR ch;
ch.doc = f;
ch.len = (doc + lastpos) - f + 1;
*pos = f - doc + 1;
if (TS_execute(GETQUERY(query), &ch, false, checkcondition_DR))
{