Skip site navigation (1) Skip section navigation (2)

Re: pgAdmin III commit: New menu to add a restore point

From: Timon <timosha(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin III commit: New menu to add a restore point
Date: 2011-03-16 09:53:50
Message-ID: AANLkTimD-iHQPHyMASv3iAu27j+5+xA4cn9HHG9OznQw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
I have error at compilation

g++ -DHAVE_CONFIG_H -I. -I..
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\"
-I../pgadmin/include   -I/usr/include -I/usr/include/pgsql
-DHAVE_CONNINFO_PARSE -I/usr/lib64/wx/include/gtk2-unicode-release-2.8
-I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2
-O2 -MT pgServer.o -MD -MP -MF .deps/pgServer.Tpo -c -o pgServer.o
`test -f './schema/pgServer.cpp' || echo './'`./schema/pgServer.cpp

./schema/pgServer.cpp: In member function 'virtual bool
addnamedrestorepointServiceFactory::CheckEnable(pgObject*)':
./schema/pgServer.cpp:1952:10: error: 'server' was not declared in this scope
make[3]: *** [pgServer.o] Error 1

gcc-4.5.1-4.fc14.x86_64

2011/3/16 Guillaume Lelarge <guillaume(at)lelarge(dot)info>:
> New menu to add a restore point
>
> Adds a new item in the contextual menu of a server node. When selected, it
> asks for a name and call the 9.1 pg_create_restore_point() function.
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=bd362e7b2f7b44a3636a2ebcbf7a130673461982
>
> Modified Files
> --------------
> pgadmin/frm/frmMain.cpp           |    1 +
> pgadmin/include/schema/pgServer.h |    9 +++++++++
> pgadmin/schema/pgServer.cpp       |   35 +++++++++++++++++++++++++++++++++++
> 3 files changed, 45 insertions(+), 0 deletions(-)
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



-- 
All bugs reserved

In response to

Responses

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2011-03-16 10:48:54
Subject: pgAdmin III commit: Fix an issue spotted by Timon
Previous:From: pgAdmin TracDate: 2011-03-15 22:16:10
Subject: Re: [pgAdmin III] #301: Support for Basic Recovery Control functions for use in Hot Standby

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group