Обсуждение: pgAdmin III commit: New menu to add a restore point

Поиск
Список
Период
Сортировка

pgAdmin III commit: New menu to add a restore point

От
Guillaume Lelarge
Дата:
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(-)


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

От
Timon
Дата:
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@lelarge.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
All bugs reserved

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

От
Guillaume Lelarge
Дата:
Le 16/03/2011 10:53, Timon a écrit :
> 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
>

My fault. It's now fixed. Thanks for the report.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com