acs::db::nsdb-postgresql method call etp create_new_revision (public)

 <instance of acs::db::nsdb-postgresql[i]> call etp create_new_revision \
    [ -dbn dbn ] -package_id package_id  -name name  -user_id user_id  \
    -revision_id revision_id 

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: integer {character varying} integer integer

Switches:
-dbn (optional)
-package_id (required)
-name (required)
-user_id (required)
-revision_id (required)

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select etp__create_new_revision(CAST(:package_id AS integer),:name,CAST(:user_id AS integer),CAST(:revision_id AS integer))}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: