This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION fessup.fetch_posts_for_my_timeline( | |
fesser_id bigint, | |
last_id bigint DEFAULT 0, | |
newer boolean DEFAULT true | |
) | |
RETURNS SETOF fessup.all_posts | |
AS $$ | |
BEGIN | |
RETURN QUERY | |
WITH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** a/src/backend/executor/nodeModifyTable.c | |
--- b/src/backend/executor/nodeModifyTable.c | |
*************** | |
*** 1451,1453 **** ExecReScanModifyTable(ModifyTableState *node) | |
--- 1451,1505 ---- | |
*/ | |
elog(ERROR, "ExecReScanModifyTable is not implemented"); | |
} | |
+ | |
+ void SimpleInsertTuple(Relation relation, HeapTuple tuple) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION djb2_hash(string text) | |
RETURNS bigint | |
IMMUTABLE | |
STRICT | |
LANGUAGE sql | |
AS $$ | |
WITH RECURSIVE t(seed, string) AS ( | |
VALUES ( | |
87049::bigint, | |
$1 |