mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-28 11:55:03 +03:00 
			
		
		
		
	Re-apply Darren's char2-16 removal code.
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
|  * | ||||
|  * | ||||
|  * IDENTIFICATION | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.28 1998/04/07 18:10:36 momjian Exp $ | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.29 1998/04/26 04:06:20 momjian Exp $ | ||||
|  * | ||||
|  *------------------------------------------------------------------------- | ||||
|  */ | ||||
| @@ -179,7 +179,7 @@ RemoveRelation(char *name) | ||||
|  *	  Here's an example: | ||||
|  * | ||||
|  *		create table person (name text, age int4, location point); | ||||
|  *		create table emp (salary int4, manager char16) inherits(person); | ||||
|  *		create table emp (salary int4, manager text) inherits(person); | ||||
|  *		create table student (gpa float8) inherits (person); | ||||
|  *		create table stud_emp (percent int4) inherits (emp, student); | ||||
|  * | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|  * | ||||
|  * | ||||
|  * IDENTIFICATION | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.11 1998/04/07 18:10:41 momjian Exp $ | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.12 1998/04/26 04:06:27 momjian Exp $ | ||||
|  * | ||||
|  *------------------------------------------------------------------------- | ||||
|  */ | ||||
| @@ -88,7 +88,7 @@ createdb(char *dbname, char *dbpath) | ||||
|  | ||||
| #if FALSE | ||||
| 	sprintf(buf, "insert into pg_database (datname, datdba, datpath) \ | ||||
|                   values (\'%s\'::char16, \'%d\'::oid, \'%s\'::text);", | ||||
|                   values (\'%s\'::name, \'%d\'::oid, \'%s\'::text);", | ||||
| 			dbname, user_id, dbname); | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user