|
|
|
@ -226,7 +226,7 @@ running the <ProductName>Postgres</ProductName> terminal monitor programs |
|
|
|
library. This allows you to submit <Acronym>SQL</Acronym> commands |
|
|
|
library. This allows you to submit <Acronym>SQL</Acronym> commands |
|
|
|
from <Acronym>C</Acronym> and get answers and status messages back to |
|
|
|
from <Acronym>C</Acronym> and get answers and status messages back to |
|
|
|
your program. This interface is discussed further |
|
|
|
your program. This interface is discussed further |
|
|
|
in <xref linkend="libpq" endterm="libpq">. |
|
|
|
in <citetitle>The PostgreSQL Programmer's Guide</citetitle>. |
|
|
|
</Para> |
|
|
|
</Para> |
|
|
|
</ListItem> |
|
|
|
</ListItem> |
|
|
|
</ItemizedList> |
|
|
|
</ItemizedList> |
|
|
|
@ -274,7 +274,8 @@ mydb=> \g |
|
|
|
|
|
|
|
|
|
|
|
This tells the server to process the query. If you |
|
|
|
This tells the server to process the query. If you |
|
|
|
terminate your query with a semicolon, the <Quote>\g</Quote> is not |
|
|
|
terminate your query with a semicolon, the <Quote>\g</Quote> is not |
|
|
|
necessary. <Application>psql</Application> will automatically process semicolon terminated queries. |
|
|
|
necessary. |
|
|
|
|
|
|
|
<Application>psql</Application> will automatically process semicolon terminated queries. |
|
|
|
To read queries from a file, say myFile, instead of |
|
|
|
To read queries from a file, say myFile, instead of |
|
|
|
entering them interactively, type: |
|
|
|
entering them interactively, type: |
|
|
|
<ProgramListing> |
|
|
|
<ProgramListing> |
|
|
|
@ -314,3 +315,20 @@ mydb=> \q |
|
|
|
</Sect1> |
|
|
|
</Sect1> |
|
|
|
|
|
|
|
|
|
|
|
</Chapter> |
|
|
|
</Chapter> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file |
|
|
|
|
|
|
|
Local variables: |
|
|
|
|
|
|
|
mode: sgml |
|
|
|
|
|
|
|
sgml-omittag:t |
|
|
|
|
|
|
|
sgml-shorttag:t |
|
|
|
|
|
|
|
sgml-minimize-attributes:nil |
|
|
|
|
|
|
|
sgml-always-quote-attributes:t |
|
|
|
|
|
|
|
sgml-indent-step:1 |
|
|
|
|
|
|
|
sgml-indent-data:t |
|
|
|
|
|
|
|
sgml-parent-document:nil |
|
|
|
|
|
|
|
sgml-default-dtd-file:"./reference.ced" |
|
|
|
|
|
|
|
sgml-exposed-tags:nil |
|
|
|
|
|
|
|
sgml-local-catalogs:"/usr/lib/sgml/CATALOG" |
|
|
|
|
|
|
|
sgml-local-ecat-files:nil |
|
|
|
|
|
|
|
End: |
|
|
|
|
|
|
|
--> |
|
|
|
|