Schema
Owner
postgres
Descriptions
args: a_table_name, a_row_key, an_auth_token - Set lock/authorization for specific row in table
Options
Option | Value |
---|---|
Returns |
integer |
Language |
sql |
Parameters |
text text text |
Definition
CREATE OR REPLACE FUNCTION public.lockrow (
text,
text,
text
)
RETURNS integer AS
$span$
SELECT LockRow(current_schema(), $1, $2, $3, now()::timestamp+'1:00');
$span$
LANGUAGE 'sql'
VOLATILE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.lockrow(text, text, text)
IS 'args: a_table_name, a_row_key, an_auth_token - Set lock/authorization for specific row in table';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |