From 3d772413a194c5b33d4202285d46b285920c475b Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Wed, 7 Dec 2011 19:08:06 +0100
Subject: modified sql statements to work with postgresql

---
 sql/group_insert.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sql/group_insert.sql')

diff --git a/sql/group_insert.sql b/sql/group_insert.sql
index 0989111..bbc79a9 100644
--- a/sql/group_insert.sql
+++ b/sql/group_insert.sql
@@ -1 +1 @@
-insert into :table: (server_id, name, type) values (:server_id:, :name:, :type:)
+insert into :table: (server_id, name, type) values (:server_id:, :name:, :type:) returning group_id as last_inserted_id
-- 
cgit v1.2.3

