rel-segments-procs-postgresql.xql

DB Query file

Related Files

[ hide source ] | [ make this the default ]

File Contents

<?xml version="1.0"?>

<queryset>
   <rdbms><type>postgresql</type><version>7.1</version></rdbms>

<fullquery name="rel_segment::new.create_rel_segment">
      <querytext>

	select rel_segment__new(
		null,
		'rel_segment',
		now(),
		:creation_user,
		:creation_ip,
		null,
		null,
		:segment_name,
		:group_id,
		:rel_type,
		:context_id
)

      </querytext>
</fullquery>


<fullquery name="rel_segment::delete.constraint_delete">
      <querytext>

	    select rel_constraint__delete(:constraint_id)

      </querytext>
</fullquery>


<fullquery name="rel_segment::delete.rel_segment_delete">
      <querytext>

	select rel_segment__delete(:segment_id)

      </querytext>
</fullquery>


</queryset>