From owner-freebsd-ports Sun Jan 27 11:50:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6D27837B402 for ; Sun, 27 Jan 2002 11:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0RJo1E03700; Sun, 27 Jan 2002 11:50:01 -0800 (PST) (envelope-from gnats) Received: from xeon.unixathome.org (CPE00C0DFB00A2B.cpe.net.cable.rogers.com [24.102.95.54]) by hub.freebsd.org (Postfix) with ESMTP id 94CD337B416 for ; Sun, 27 Jan 2002 11:48:24 -0800 (PST) Received: (from dan@localhost) by xeon.unixathome.org (8.11.6/8.11.6) id g0RJmMf11703; Sun, 27 Jan 2002 14:48:22 -0500 (EST) (envelope-from dan) Message-Id: <200201271948.g0RJmMf11703@xeon.unixathome.org> Date: Sun, 27 Jan 2002 14:48:22 -0500 (EST) From: Dan Langille Reply-To: Dan Langille To: FreeBSD-gnats-submit@freebsd.org Cc: girgen@partitur.se X-Send-Pr-Version: 3.113 Subject: ports/34348: postgresql doesn't use long version of command line options Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34348 >Category: ports >Synopsis: postgresql doesn't use long version of command line options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 27 11:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dan Langille >Release: FreeBSD 4.4-STABLE i386 >Organization: The FreeBSD Diary >Environment: System: FreeBSD xeon.unixathome.org 4.4-STABLE FreeBSD 4.4-STABLE #2: Thu Sep 20 23:42:24 EDT 2001 root@xeon.unixathome.org:/usr/obj/usr/src/sys/XEON i386 >Description: >How-To-Repeat: $ pg_dump --clean FreshPorts2TestLists > FreshPorts2TestLists.clean.sql $ pg_dump FreshPorts2TestLists > FreshPorts2TestLists.sql $ ls -l FreshPorts2TestLists.clean.sql FreshPorts2TestLists.sql -rw-r--r-- 1 dan dan 6189700 Jan 27 14:12 FreshPorts2TestLists.clean.sql -rw-r--r-- 1 dan dan 6189700 Jan 27 14:13 FreshPorts2TestLists.sql $ diff FreshPorts2TestLists.clean.sql FreshPorts2TestLists.sql $ Similar results occur with the -a/--data-only switch. >Fix: asmodai had this to say: FreeBSD has no getopt long stuff we have devel/libgnugetopt for that src/bin/pg_dump/pg_dump.c contains this: #ifdef HAVE_GETOPT_LONG puts( " -a, --data-only dump out only the data, not the schema\n" " -b, --blobs dump out blob data\n" " -c, --clean clean (drop) schema prior to create\n" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message