Search Postgresql Archives

Re: Ascii Elephant for text based protocols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think I found a better representation for the end of the trunk:

+------------------------+
|   ____  ______  ___    |
|  /    )/      \/   \   |
| (     / __    _\    )  |
|  \    (/ o)  ( o)   )  |
|   \_  (_  )   \ ) _/   |
|     \  /\_/    \)/     |
|      \/ <//|  |\\>     |
|            |  |        |
|            |_/         |
|                        |
|  PostgreSQL 1996-2016  |
|  20 years of success   |
+------------------------+

And in Melvin's SQL:

CREATE TABLE elephant
(row_num integer NOT NULL,
 row_dat varchar(30) NOT NULL,
 CONSTRAINT elephant_pk PRIMARY KEY (row_num)
);

INSERT INTO elephant
(row_num, row_dat)
VALUES
( 1,'+------------------------+'),
( 2,'|   ____  ______  ___    |'),
( 3,'|  /    )/      \/   \   |'),
( 4,'| (     / __    _\    )  |'),
( 5,'|  \    (/ o)  ( o)   )  |'),
( 6,'|   \_  (_  )   \ ) _/   |'),
( 7,'|     \  /\_/    \)/     |'),
( 8,'|      \/ <//|  |\\>     |'),
( 9,'|            |  |        |'),
(10,'|            |_/         |'),
(11,'|                        |'),
(12,'|  PostgreSQL 1996-2016  |'),
(13,'|  20 Years of success   |'),
(14,'+------------------------+');

SELECT row_dat FROM elephant ORDER BY row_num;

Bye
Charles

Annex: Versions

Original:

  ____  ______  ___
 /    )/      \/   \
(     / __    _\    )
 \    (/ o)  ( o)   )
  \_  (_  )   \ )  /
    \  /\_/    \)_/
     \/  //|  |\\
         v |  | v
           \__/

V2 (feedback David Bennett):

  ____  ______  ___
 /    )/      \/   \
(     / __    _\    )
 \    (/ o)  ( o)   )
  \_  (_  )   \ ) _/    <--
    \  /\_/    \)/      <--
     \/ <//|  |\\>      <--
           |  |
           \__/

V3 (feedback Tom Lane):
  ____  ______  ___
 /    )/      \/   \
(     / __    _\    )
 \    (/ o)  ( o)   )
  \_  (_  )   \ ) _/
    \  /\_/    \)/
     \/ <//|  |\\>
           |  |
           |/\|         <--
Or
  ____  ______  ___
 /    )/      \/   \
(     / __    _\    )
 \    (/ o)  ( o)   )
  \_  (_  )   \ ) _/
    \  /\_/    \)/
     \/ <//|  |\\>
           |  |
           |__|         <--

V4 (myself)

  ____  ______  ___
 /    )/      \/   \
(     / __    _\    )
 \    (/ o)  ( o)   )
  \_  (_  )   \ ) _/
    \  /\_/    \)/
     \/ <//|  |\\>
           |  |
           |_/         <--



--
Swiss PostgreSQL Users Group
c/o Charles Clavadetscher
Motorenstrasse 18
CH - 8005 Zürich

http://www.swisspug.org


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux