/*
* Turn it into a "smart" trigger by truncating the file. Otherwise if
* the server asks us again to restore a segment that was restored
- * restored already, we would return "not found" and upset the server.
+ * already, we would return "not found" and upset the server.
*/
if (ftruncate(fd, 0) < 0)
{
/*
* Size of the bitmap on each visibility map page, in bytes. There's no
- * extra headers, so the whole page minus except for the standard page header
- * is used for the bitmap.
+ * extra headers, so the whole page minus the standard page header is
+ * used for the bitmap.
*/
#define MAPSIZE (BLCKSZ - MAXALIGN(SizeOfPageHeaderData))
* If the databasename is omitted it is taken to be the user name.
*
* When started from the postmaster, the format is
- * postgres [secure switches] -p databasename [insecure switches]
- * Switches appearing after -p came from the client (via "options"
+ * postgres [secure switches] -y databasename [insecure switches]
+ * Switches appearing after -y came from the client (via "options"
* field of connection request). For security reasons we restrict
* what these switches can do.
* ----------------
argc--;
}
- /* all options are allowed until '-p' */
+ /* all options are allowed until '-y' */
secure = true;
ctx = PGC_POSTMASTER;
gucsource = PGC_S_ARGV; /* initial switches came from command line */