Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

alter_schema(7) [centos man page]

ALTER 
SCHEMA(7) PostgreSQL 9.2.7 Documentation ALTER SCHEMA(7) NAME
ALTER_SCHEMA - change the definition of a schema SYNOPSIS
ALTER SCHEMA name RENAME TO new_name ALTER SCHEMA name OWNER TO new_owner DESCRIPTION
ALTER SCHEMA changes the definition of a schema. You must own the schema to use ALTER SCHEMA. To rename a schema you must also have the CREATE privilege for the database. To alter the owner, you must also be a direct or indirect member of the new owning role, and you must have the CREATE privilege for the database. (Note that superusers have all these privileges automatically.) PARAMETERS
name The name of an existing schema. new_name The new name of the schema. The new name cannot begin with pg_, as such names are reserved for system schemas. new_owner The new owner of the schema. COMPATIBILITY
There is no ALTER SCHEMA statement in the SQL standard. SEE ALSO
CREATE SCHEMA (CREATE_SCHEMA(7)), DROP SCHEMA (DROP_SCHEMA(7)) PostgreSQL 9.2.7 2014-02-17 ALTER SCHEMA(7)

Check Out this Related Man Page

ALTER 
CONVERSION(7) PostgreSQL 9.2.7 Documentation ALTER CONVERSION(7) NAME
ALTER_CONVERSION - change the definition of a conversion SYNOPSIS
ALTER CONVERSION name RENAME TO new_name ALTER CONVERSION name OWNER TO new_owner ALTER CONVERSION name SET SCHEMA new_schema DESCRIPTION
ALTER CONVERSION changes the definition of a conversion. You must own the conversion to use ALTER CONVERSION. To alter the owner, you must also be a direct or indirect member of the new owning role, and that role must have CREATE privilege on the conversion's schema. (These restrictions enforce that altering the owner doesn't do anything you couldn't do by dropping and recreating the conversion. However, a superuser can alter ownership of any conversion anyway.) PARAMETERS
name The name (optionally schema-qualified) of an existing conversion. new_name The new name of the conversion. new_owner The new owner of the conversion. new_schema The new schema for the conversion. EXAMPLES
To rename the conversion iso_8859_1_to_utf8 to latin1_to_unicode: ALTER CONVERSION iso_8859_1_to_utf8 RENAME TO latin1_to_unicode; To change the owner of the conversion iso_8859_1_to_utf8 to joe: ALTER CONVERSION iso_8859_1_to_utf8 OWNER TO joe; COMPATIBILITY
There is no ALTER CONVERSION statement in the SQL standard. SEE ALSO
CREATE CONVERSION (CREATE_CONVERSION(7)), DROP CONVERSION (DROP_CONVERSION(7)) PostgreSQL 9.2.7 2014-02-17 ALTER CONVERSION(7)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SED Exclude Matches Between Pattern1 And Pattern2 Containing Pattern3 Print The Rest

Hi, From the sample file below Conditions 1) Pattern Range must start with "ALTER TABLE" 2) Pattern Range ends when it finds ";" 3) Between this range i want to select all the patterns that contain pattern " MOVE " Note : I would like to exclude the above pattern matches and print... (1 Reply)
Discussion started by: rajan_san
1 Replies

2. Shell Programming and Scripting

sed/awk help to match list of patterns and remove from org file

Hi, From the pattern mentioned below remove lines based on pattern range. Conditions 1 Look For all lines starting with ALTER TABLE and Ending with ; and contains the word MOVE.I wanto to remove these lines from the file sample below. Note : The above pattern list could be found in... (1 Reply)
Discussion started by: rajan_san
1 Replies

3. Shell Programming and Scripting

Sed Help.To Search Between Pattern1 And Pattern2 Containing Certain Text

Hi, Here is a sample of my Test File $ cat TestFile1 Prompt Table DQZ_ALTER_SCHEMA_ID; ALTER TABLE DQZ.DQZ_ALTER_SCHEMA_ID MONITORING; ALTER TABLE DQZ.DQZ_ALTER_SCHEMA_ID STORAGE ( NEXT 3464K ); Prompt Table DQZ_ALTER_SCHEMA_ID; ALTER TABLE DQZ.DQZ_ALTER_SCHEMA_ID MOVE LOB... (16 Replies)
Discussion started by: rajan_san
16 Replies