Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A5D3CB5DCC0; Wed, 22 Jun 2011 06:14:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 96554-05; Wed, 22 Jun 2011 09:14:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mail.postgresql.org (Postfix) with ESMTP id 65A5CB5DC10; Wed, 22 Jun 2011 06:14:24 -0300 (ADT) Received: by wwe6 with SMTP id 6so542698wwe.19 for ; Wed, 22 Jun 2011 02:14:24 -0700 (PDT) Received: by 10.216.241.132 with SMTP id g4mr531457wer.9.1308734064239; Wed, 22 Jun 2011 02:14:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.167.130 with HTTP; Wed, 22 Jun 2011 02:14:09 -0700 (PDT) In-Reply-To: References: From: Jaime Casanova Date: Wed, 22 Jun 2011 04:14:09 -0500 X-Google-Sender-Auth: mW1i7FpErI_aKWnkylqmGNnLdhM Message-ID: Subject: Re: Where is pg_create_restore_point funciton in 9.1a2 ? To: Emanuel Calvo Cc: postgresql Forums , pgsql-bugs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/187 X-Sequence-Number: 30566 On Wed, Jun 22, 2011 at 3:28 AM, Emanuel Calvo wro= te: > I'm still finding pg_create_restore_point in 9.1a2 documentation: > http://www.postgresql.org/docs/9.1/static/functions-admin.html > > But I've compiled that version and I didn't found it: > > postgres=3D# \df *create_restore* > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 List of functions > =A0Schema | Name | Result data type | Argument data types | Type > --------+------+------------------+---------------------+------ > (0 rows) > the function exists... and it should appear, it does for me postgres=3D# \df *create_re* List of functions Schema | Name | Result data type | Argument data types | Type ------------+-------------------------+------------------+-----------------= ----+-------- pg_catalog | pg_create_restore_point | text | text | normal (1 row) postgres=3D# select pg_create_restore_point('jcm'); ERROR: WAL level not sufficient for creating a restore point HINT: wal_level must be set to "archive" or "hot_standby" at server start. STATEMENT: select pg_create_restore_point('jcm'); > > By the way, another issue that I found is when I execute \df. It > doesn't display anything (I must > force with * to do that). i can confirm this --=20 Jaime Casanova=A0 =A0 =A0 =A0=A0 www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitaci=F3n