~ubuntu-branches/ubuntu/karmic/libgda4/karmic

« back to all changes in this revision

Viewing changes to providers/postgres/gda-postgres-ddl.h

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-02-02 23:06:15 UTC
  • Revision ID: james.westby@ubuntu.com-20090202230615-q081lez252bfipw5
Tags: upstream-3.99.11
ImportĀ upstreamĀ versionĀ 3.99.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GDA postgres provider
 
2
 * Copyright (C) 1998 - 2008 The GNOME Foundation.
 
3
 *
 
4
 * AUTHORS:
 
5
 *         Vivien Malerba <malerba@gnome-db.org>
 
6
 *         Rodrigo Moya <rodrigo@gnome-db.org>
 
7
 *         Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
 
8
 *
 
9
 * This library is free software; you can redistribute it and/or
 
10
 * modify it under the terms of the GNU Library General Public
 
11
 * License as published by the Free Software Foundation; either
 
12
 * version 2 of the License, or (at your option) any later version.
 
13
 *
 
14
 * This library is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
17
 * Library General Public License for more details.
 
18
 *
 
19
 * You should have received a copy of the GNU Library General Public
 
20
 * License along with this library; if not, write to the Free
 
21
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
22
 */
 
23
 
 
24
#ifndef __GDA_POSTGRES_DDL_H__
 
25
#define __GDA_POSTGRES_DDL_H__
 
26
 
 
27
#include <libgda/gda-server-provider.h>
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
gchar *gda_postgres_render_CREATE_DB    (GdaServerProvider *provider, GdaConnection *cnc,
 
32
                                         GdaServerOperation *op, GError **error);
 
33
gchar *gda_postgres_render_DROP_DB      (GdaServerProvider *provider, GdaConnection *cnc,
 
34
                                         GdaServerOperation *op, GError **error);
 
35
gchar *gda_postgres_render_CREATE_TABLE (GdaServerProvider *provider, GdaConnection *cnc,
 
36
                                         GdaServerOperation *op, GError **error);
 
37
gchar *gda_postgres_render_RENAME_TABLE (GdaServerProvider *provider, GdaConnection *cnc,
 
38
                                         GdaServerOperation *op, GError **error);
 
39
gchar *gda_postgres_render_DROP_TABLE   (GdaServerProvider *provider, GdaConnection *cnc,
 
40
                                         GdaServerOperation *op, GError **error);
 
41
gchar *gda_postgres_render_ADD_COLUMN   (GdaServerProvider *provider, GdaConnection *cnc,
 
42
                                         GdaServerOperation *op, GError **error);
 
43
gchar *gda_postgres_render_DROP_COLUMN  (GdaServerProvider *provider, GdaConnection *cnc,
 
44
                                         GdaServerOperation *op, GError **error);
 
45
gchar *gda_postgres_render_CREATE_INDEX (GdaServerProvider *provider, GdaConnection *cnc,
 
46
                                         GdaServerOperation *op, GError **error);
 
47
gchar *gda_postgres_render_DROP_INDEX   (GdaServerProvider *provider, GdaConnection *cnc,
 
48
                                         GdaServerOperation *op, GError **error);
 
49
gchar *gda_postgres_render_CREATE_VIEW  (GdaServerProvider *provider, GdaConnection *cnc,
 
50
                                         GdaServerOperation *op, GError **error);
 
51
gchar *gda_postgres_render_DROP_VIEW    (GdaServerProvider *provider, GdaConnection *cnc,
 
52
                                         GdaServerOperation *op, GError **error);
 
53
G_END_DECLS
 
54
 
 
55
#endif
 
56