diff options
author | PostgreSQL Daemon <webmaster@postgresql.org> | 1998-01-15 19:46:37 +0000 |
---|---|---|
committer | PostgreSQL Daemon <webmaster@postgresql.org> | 1998-01-15 19:46:37 +0000 |
commit | baef78d96b799b6264a54f8cfce4fda2b2da9701 (patch) | |
tree | a842ceff78d7eba3de43ba866976d828cf6d2d34 /src/backend/utils/sort/lselect.c | |
parent | 763ff8aef848d71da079049890786edffc3302d6 (diff) | |
download | postgresql-baef78d96b799b6264a54f8cfce4fda2b2da9701.tar.gz postgresql-baef78d96b799b6264a54f8cfce4fda2b2da9701.zip |
Thank god for searchable mail archives.
Patch by: wieck@sapserv.debis.de (Jan Wieck)
One of the design rules of PostgreSQL is extensibility. And
to follow this rule means (at least for me) that there should
not only be a builtin PL. Instead I would prefer a defined
interface for PL implemetations.
Diffstat (limited to 'src/backend/utils/sort/lselect.c')
-rw-r--r-- | src/backend/utils/sort/lselect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/sort/lselect.c b/src/backend/utils/sort/lselect.c index ad8fc9764fc..c5ee02e7e9c 100644 --- a/src/backend/utils/sort/lselect.c +++ b/src/backend/utils/sort/lselect.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/lselect.c,v 1.9 1997/09/18 05:37:30 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/lselect.c,v 1.10 1998/01/15 19:46:08 pgsql Exp $ * *------------------------------------------------------------------------- */ @@ -212,14 +212,14 @@ tuplecmp(HeapTuple ltup, HeapTuple rtup, LeftistContext context) if (context->scanKeys[nkey].sk_flags & SK_COMMUTE) { if (!(result = - (long) (*context->scanKeys[nkey].sk_func) (rattr, lattr))) + (long) (*fmgr_faddr(&context->scanKeys[nkey].sk_func)) (rattr, lattr))) result = - -(long) (*context->scanKeys[nkey].sk_func) (lattr, rattr); + -(long) (*fmgr_faddr(&context->scanKeys[nkey].sk_func)) (lattr, rattr); } else if (!(result = - (long) (*context->scanKeys[nkey].sk_func) (lattr, rattr))) + (long) (*fmgr_faddr(&context->scanKeys[nkey].sk_func)) (lattr, rattr))) result = - -(long) (*context->scanKeys[nkey].sk_func) (rattr, lattr); + -(long) (*fmgr_faddr(&context->scanKeys[nkey].sk_func)) (rattr, lattr); nkey++; } return (result == 1); |