1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="STYLESHEET" type="text/css" href="pgadmin3.css">
<title>Edit Data</title>
</head>
<body>
<H3>Edit Grid</H3>
<center><img src="images/editgrid.png"></center>
<P>The Edit Grid tool allows you to view the data that's stored in a
table or view, and to edit the content if technically possible.</P>
<P>The header of the grid will show the name of each column, together
with the data type. A column that's part of the primary key will
additionally be marked with [PK].</P>
<P><B>Important:</B> In order to edit the data, each row in the table must be uniquely
identifiable. This can be done using the OID, or a primary key. If
none of them exist, the table is read only. Note that views can't be
edited and are read only by design; updatable views (using rules) are
not supported at this time.</P>
<P>To change the value of a field, you select that field and enter
the new text. The Store toolbar button allows the data to be written
back to the server. The row will be written automatically, if you
select a different row.</P>
<P>To enter a new row into the table, you enter the data into the
last row that has a row number marked with an asterisk. As soon as
you store the data, the row will get a row number, and a fresh empty
asterisk line is created.</P>
<P>If an SQL NULL is to be written to the table, simply leave the field
empty. If you store a new row, this will let the server fill in the
default value for that column. If you store a change to an existing
row, the value NULL will explicitly be written.</P>
<P>To enter a newline into a field, press Ctrl-Enter.</P>
<P>If you want pgAdmin III to write an empty string to the table, you
enter the special string '' (two single quotes) in the field. If you
want to write a string containing solely two single quotes to the
table, you need to escape these quotes, by typing \'\'
</P>
<P>To delete a row, press the Delete toolbar button.</P>
<P>The Refresh toolbar button allows to reread the contents of the
table, refreshing the display.</P>
<P>
You can select one or more rows, and copy them with Ctrl-C or the Copy
toolbar button to the clipboard.
</P><P>
The Sort/Filter toolbar button will open the <A
href=gridopts.html>View Data Options</A> dialog.
</P>
</BODY>
</HTML>
|