1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-13 14:22:43 +03:00

Add tablespace location display for psql \d.

Gavin Sherry
This commit is contained in:
Bruce Momjian
2004-07-12 20:41:13 +00:00
parent e47cbb3bad
commit b6335b4fb4
4 changed files with 59 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.37 2004/07/11 13:29:15 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/common.h,v 1.38 2004/07/12 20:41:13 momjian Exp $
*/
#ifndef COMMON_H
#define COMMON_H
@@ -20,6 +20,9 @@
#define psql_assert(p)
#endif
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/*
* Safer versions of some standard C library functions. If an
* out-of-memory condition occurs, these functions will bail out