Обсуждение: psql command line question regarding function of single quote '
I am working my way through a book from APRESS by Matthew and Stones entitled “Beginning Databases with PostgreSQL from Novice to Professional”
The exercises involve issuing commands through the psql command line. I am using Windows XP on a Dell.
I notice that if I am entereing a command, but accidentally precede the command with ‘ then the command is not performed, and no matter what I type, the prompt continues to show as ‘> rather than -> .
I have also discovered that if I enter a second ‘, then the command prompt returns to the normal -> and I may once again execute commands.
My question is, what function does the ‘ serve in psql command line?
Thanks!
On Dec 10, 2006, at 20:51 , Karebac wrote: > My question is, what function does the ‘ serve in psql command line? To remind you that you have an open string which you need to close before the command will be complete. Michael Glaesemann grzm seespotcode net
I have found this helpful link to explain the behavior I encountered: http://www.postgresql.org/docs/7.4/static/app-psql.html Thanks! -----Original Message----- From: pgsql-novice-owner@postgresql.org [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Michael Glaesemann Sent: Sunday, December 10, 2006 7:13 AM To: Karebac Cc: pgsql-novice@postgresql.org Subject: Re: [NOVICE] psql command line question regarding function of single quote ' On Dec 10, 2006, at 20:51 , Karebac wrote: > My question is, what function does the ' serve in psql command line? To remind you that you have an open string which you need to close before the command will be complete. Michael Glaesemann grzm seespotcode net ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.15/580 - Release Date: 12/8/2006