mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Backend support for autocommit removed, per recent discussions. The
only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/bin/scripts/droplang.c,v 1.1 2003/03/18 22:19:47 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/scripts/droplang.c,v 1.2 2003/05/14 03:26:03 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -215,8 +215,7 @@ main(int argc, char *argv[])
|
||||
/*
|
||||
* Drop the language
|
||||
*/
|
||||
printfPQExpBuffer(&sql, "SET autocommit TO on;\n");
|
||||
appendPQExpBuffer(&sql, "DROP LANGUAGE \"%s\";\n", langname);
|
||||
printfPQExpBuffer(&sql, "DROP LANGUAGE \"%s\";\n", langname);
|
||||
if (!keephandler)
|
||||
appendPQExpBuffer(&sql, "DROP FUNCTION \"%s\" ();\n", handler);
|
||||
if (echo)
|
||||
|
Reference in New Issue
Block a user