summaryrefslogtreecommitdiff
path: root/sql/pgq/expected
AgeCommit message (Collapse)Author
2013-12-03sql/pgq: tag pgq.batch_id_seq as dumpable (extension)Marko Kreen
That case was broken in old 9.1 releases, fixed since 9.1.7. The sequence will be owned by extension and without tagging it will not be dumped in data dump.
2012-12-21pgq/tests: disable noticesMarko Kreen
Info-notices are warnings now. Needed to ignore different notices in 9.3
2012-10-29pgq: test upgrade from 2.1Marko Kreen
2012-07-19sql/pgq: Don't tag batch_id_seq as dumpable, pg_dump is broken.Marko Kreen
This means it's value will be lost during dump+restore.
2012-07-13Convert DB modules to extensionsMarko Kreen
Keep installing old module files under contrib/ still.
2012-05-10Group-access roles for SQL functions (draft)Marko Kreen
This is attempt for fine-grained access rights for all Skytools SQL schemas. As it still needs review, the rights are not activated by default, instead following sql files are generated: newgrants_<schema>.sql - applies new rights, drop old public access oldgrants_<schema>.sql - restores old rights - public execute privilege to all functions Only thing that is active by default is creation of new groups in upgrade functions. New access roles: pgq_reader Can consume queues (source-side) pgq_writer Can write into queues (source-side / dest-side) Can use pgq_node/pgq_ext schema as regular consumer (dest-side) pgq_admin Admin operations on queues, required for CascadedWorker on dest-side. Member of pgq_reader and pgq_writer. londiste_reader Member of pgq_reader, needs additional read access to tables. (source-side) londiste_writer Member of pgq_admin, needs additional write access to tables. (dest-side)
2012-05-02sql/pgq: use terse verbosity in regtestsMarko Kreen
2011-10-27pgq.Consumer: support .consumer_filter with lazy_fetchMarko Kreen
2011-09-08pgq.upgrade_schema(): magic schema upgradeMarko Kreen
2011-02-04sql/pgq: separate out the truncate trigger testsMarko Kreen
this makes success/failure on 8.3 clearer.
2011-02-04pgq.get_queue_info: report last tick in queueMarko Kreen
2011-01-10pgq/triggers: disallow primary key updatesMarko Kreen
2010-12-01pgq/triggers: 'deny' argument to logutriga/sqltrigaMarko Kreen
Needed for deny trigger on leafs.
2010-10-25Fix pgq.next_batch_custom()Marko Kreen
Seems it was broken in some reorg.
2010-09-06londiste,pgq: Support & use TRUNCATE trigger by default.Marko Kreen
Event format: ev_type - R ev_extra1 - table name Works only on Postgres 8.4+. Patch by Hannu Krosing.
2010-09-02pgq/trigger: add when= argument to sqltriga/logutriga.Marko Kreen
Similar to WHEN argument for CREATE TRIGGER in 9.0.
2010-09-01pgq: customizable maintenance functionsMarko Kreen
2010-06-09sql/pgq: compat with 9.0 bytea formatMarko Kreen
2010-05-07pgq: tune regtest to autovacuum=on, which is more commonMarko Kreen
2010-05-07pgq/triggers: Custom SQL expressions for field valuesMarko Kreen
Move fields around for caching the trigger arguments and cached plans for override queries.
2009-11-24sql/pgq: make pgq.logutriga() ignore UPDATE when only ignored fields changeMarko Kreen
previously it behaved differently from sqltriga, as it did not need to analyze which field change. but it's better if it acts like sqltriga when field ignoring is used.
2009-11-24sql/pgq: update regtest for get_batch_cursor() changeMarko Kreen
2009-10-14sql/pgq/triggers: magic fields to set event fields directly.Marko Kreen
pgq.sqltriga() / pgq.logutriga() now consider following fields magic: _pgq_ev_type _pgq_ev_data _pgq_ev_extra1 _pgq_ev_extra2 _pgq_ev_extra3 _pgq_ev_extra4 If any of them is present in table, corresponding event field is set directly to it's value, overriding value generated by trigger.
2009-09-21sql/pgq: trigger fixesMarko Kreen
- pgq.logutriga() did not put custom pkey= value into events. - pgq.logutriga() and pgq.sqltriga() did allow UPDATE and DELETE on tables without pkey, running into SQL errors downstream. They should throw error in such case.
2009-04-21sql/pgq: pgq.batch_retry()Marko Kreen
For use by pgq_coop.
2009-04-21pgq: Drop failed event handling.Marko Kreen
Badly designed and unused concept. If such thing is needed it's much better to handle them via actual queue.
2009-04-08sql/pgq: pgq.get_batch_cursor()Marko Kreen
Helper function to fetch batch events using a cursor.
2009-04-02pgq: Ability to limit the number of events inserted by one TXMarko Kreen
As PgQ can split batches only on transaction boundaries, it does not tolerate huge number of events inserted by one TX. This batch adds per-queue field queue_per_tx_limit, which can be set to reasonable number and PgQ will enforce the limit, by throwing error if event counts gets larger, thus rollbacking the problematic TX. Such limit also adds possibility to survive UPDATE/DELETE statements, where the WHERE clause is missing or buggy.
2009-02-13sql/pgq updateMarko Kreen
structure: - event_seq field for pgq.tick table, to store last value from event_id_seq - 'disabled' field for pgq.queue, which can disable any direct inserts to queue. inserts are allowed only if session_role = 'replica' functions: - pgq.next_batch_info() as next_batch() but returns full details - pgq.ticker(): now contains ticker logic that previously was located in python code - it uses the event_seq field in tick table to know about last sequence value - pgq.insert_event_raw() - check disabled flag - pgq.seq_getval() / pgq.seq_setval() functions for safe sequence variable manipulation - remove denytriga, now regular triggers can play the role - use OUT parameters instead of ret types - pgq.force_tick(): silently ignore the request on disabled queues - pgq.maint_retry_events(): fwd port bugfix from 2.1-stable - pgq.maint_rotate_tables(): cleanup from 2.1-stable - pgq.maint_tables_to_vacuum(): add more tables - triggers/common.c: bugfix from 2.1-stable
2008-04-11pgq.denytriga - simple deny triggerMarko Kreen
2008-04-04tiny fixesMarko Kreen
2007-07-30pgq: rewrite triggers in C, thus not depending on plpython anymoreMarko Kreen
2007-07-17pgq: rewrite insert_event() in CMarko Kreen
2007-04-16pgq: add fields for get_consumer_infoMarko Kreen
2007-04-09test force_tickMarko Kreen
2007-04-08actually test the functionsMarko Kreen
2007-04-05split regtests, add one for rotateMarko Kreen
2007-03-13final public releaseskytools_2_1Marko Kreen