Bug 117430 - update syntax in pre-7.3 PostgreSQL scripts
update syntax in pre-7.3 PostgreSQL scripts
Status: CLOSED WONTFIX
Product: Red Hat Web Application Framework
Classification: Retired
Component: other (Show other bugs)
nightly
All Linux
medium Severity low
: ---
: ---
Assigned To: ccm-bugs-list
Jon Orris
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-03 16:42 EST by Vadim Nasardinov
Modified: 2007-04-18 13:03 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-03 14:47:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Vadim Nasardinov 2004-03-03 16:42:31 EST
For consistency, we should probably update

//core-platform/dev/sql/ccm-core/postgres/categorization/trigger-cat_category_category_map.sql
//core-platform/dev/sql/ccm-core/postgres/kernel/trigger-acs_parties.sql

to use the new syntax for triggers introduced in 7.3.  Instead of

  create or replace function parties_group_member_up_fn () returns opaque as '

use 

  create or replace function parties_group_member_up_fn () returns trigger as '

There was a short thread about this on the ccm-engineering-list on
January 16th, but it seems to be missing from the archives:
http://post-office.corp.redhat.com/archives/ccm-engineering-list/2004-January/date.html

The new syntax is already used in

//core-platform/dev/sql/ccm-core/postgres/kernel/triggers-dnm_context.sql
//core-platform/dev/sql/ccm-core/postgres/kernel/triggers-dnm_parties.sql
//core-platform/dev/sql/ccm-core/postgres/kernel/triggers-dnm_privileges.sql

See
http://www.postgresql.org/docs/7.3/static/sql-createtrigger.html
http://www.postgresql.org/docs/7.3/static/sql-createfunction.html
Comment 1 Vadim Nasardinov 2005-08-03 14:47:15 EDT
stale

Note You need to log in before you can comment on or make changes to this bug.